diff --git a/Service/Setting.php b/Service/Setting.php
old mode 100644
new mode 100755
index 39903d9..376bbc6
--- a/Service/Setting.php
+++ b/Service/Setting.php
@@ -19,6 +19,7 @@ class Setting {
public function __construct() {
$this->settings = get_settings();
add_filter( 'wp_china_yes_enqueue_assets', '__return_true' );
+ add_filter( 'wp_china_yes_fa4', '__return_true' );
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_assets' ] );
add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', [ $this, 'admin_menu' ] );
self::admin_init();
@@ -46,9 +47,23 @@ class Setting {
'database' => is_multisite() ? 'network' : '',
] );
+ WP_CHINA_YES::createSection( $this->prefix, [
+ 'title' => '欢迎使用',
+ 'icon' => 'icon icon-home-1',
+ 'fields' => [
+ [
+ 'type' => 'content',
+ 'content' =>
+ <<
原生体验
文派叶子🍃(WP-China-Yes)是一款不可多得的 WordPress 系统底层优化和生态基础设施软件。

特色功能
* 100% 兼容 WP 程序及发行分支版本,更多优秀插件待您体验。
网站加速
优化加速插件多如牛毛,为何文派叶子如此与众不同?
进一步了解 ↗ 翻译推送
高质量翻译中文本地化翻译由文派开源官方提供,欢迎参与改进。
本地化改进 ↗ 加入我们
关注文派茶馆 WPTEA.com 公众号以及订阅我们的时事通讯即可接收独家内容、提示和更新。
+HTML,
+ ]
+ ],
+ ] );
+
WP_CHINA_YES::createSection( $this->prefix, [
'title' => '加速设置',
- 'icon' => 'fa fa-rocket',
+ 'icon' => 'icon icon-flash-1',
'fields' => [
[
'id' => 'store',
@@ -62,7 +77,7 @@ class Setting {
],
'default' => 'wenpai',
'subtitle' => '是否启用市场加速',
- 'desc' => __( '官方加速源(WPMirror)直接从 .org 反代至大陆分发;文派开源(WenPai.org)中国境内自建托管仓库,同时集成文派翻译平台。可参考源站说明。',
+ 'desc' => __( '官方加速源(WPMirror)直接从 .org 反代至大陆分发;文派开源(WenPai.org)中国境内自建托管仓库,同时集成文派翻译平台。可参考源站说明。',
'wp-china-yes' ),
],
[
@@ -74,15 +89,15 @@ class Setting {
'admin' => '后台加速',
'frontend' => '前台加速',
'googlefonts' => 'Google 字体',
- 'googleajax' => 'Google 前端公共库',
- 'cdnjs' => 'CDNJS 前端公共库',
- 'jsdelivr' => 'jsDelivr 公共库'
+ 'googleajax' => 'Google 前端库',
+ 'cdnjs' => 'CDNJS 前端库',
+ 'jsdelivr' => 'jsDelivr 前端库'
],
'default' => [
'admin' => 'admin',
],
'subtitle' => '是否启用萌芽加速',
- 'desc' => __( '萌芽加速(adminCDN)将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需要加速的项目,更多细节控制和功能,请查看推荐设置。',
+ 'desc' => __( '萌芽加速(adminCDN)将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需要加速的项目,更多细节控制和功能,请查看推荐设置。',
'wp-china-yes' ),
],
[
@@ -98,7 +113,7 @@ class Setting {
],
'default' => 'cn',
'subtitle' => '是否启用头像加速',
- 'desc' => __( '初认头像(Cravatar)Gravatar 在中国的完美替代方案,您可以在 Cravatar.com 上传头像,更多选项请安装 WPAavatar 插件。可自选加速线路。',
+ 'desc' => __( '初认头像(Cravatar)Gravatar 在中国的完美替代方案,您可以在 Cravatar.com 上传头像,更多选项请安装 WPAavatar 插件。可自选加速线路。',
'wp-china-yes' ),
],
],
@@ -106,7 +121,7 @@ class Setting {
WP_CHINA_YES::createSection( $this->prefix, [
'title' => '文风字体',
- 'icon' => 'fa fa-font',
+ 'icon' => 'icon icon-text',
'fields' => [
[
'id' => 'windfonts',
@@ -121,7 +136,7 @@ class Setting {
],
'default' => 'off',
'subtitle' => '是否启用文风字体定制',
- 'desc' => __( '文风字体(Windfonts)为您的网站增添无限活力。专为中文网页设计,旨在提升用户阅读体验和视觉享受。新手使用请先查看字体使用说明。',
+ 'desc' => __( '文风字体(Windfonts)为您的网站增添无限活力。专为中文网页设计,旨在提升用户阅读体验和视觉享受。新手使用请先查看字体使用说明。',
'wp-china-yes' ),
],
[
@@ -226,14 +241,14 @@ class Setting {
],
[
'type' => 'content',
- 'content' => '默认字体适配规则跟随插件更新,插件更新后可删除字体重新添加以获取最新适配规则',
+ 'content' => '默认字体适配规则跟随插件更新,插件更新后可删除字体重新添加以获取最新适配规则',
],
],
] );
WP_CHINA_YES::createSection( $this->prefix, [
'title' => '广告屏蔽',
- 'icon' => 'fa fa-ban',
+ 'icon' => 'icon icon-eye-slash',
'fields' => [
[
'id' => 'adblock',
@@ -246,7 +261,7 @@ class Setting {
],
'default' => 'off',
'subtitle' => '是否启用后台广告屏蔽',
- 'desc' => __( '文派叶子🍃(WP-China-Yes)独家特色功能,让您拥有清爽整洁的 WordPress 后台,清除各类常用插件侵入式后台广告、通知及无用信息,拿回您的后台控制权。',
+ 'desc' => __( '文派叶子🍃(WP-China-Yes)独家特色功能,让您拥有清爽整洁的 WordPress 后台,清除各类常用插件侵入式后台广告、通知及无用信息,拿回您的后台控制权。',
'wp-china-yes' ),
],
[
@@ -254,7 +269,7 @@ class Setting {
'type' => 'group',
'title' => '规则列表',
'subtitle' => '使用的广告屏蔽规则列表',
- 'desc' => __( '支持添加多条广告屏蔽规则',
+ 'desc' => __( '支持添加多条广告屏蔽规则',
'wp-china-yes' ),
'button_title' => '添加规则',
@@ -295,14 +310,14 @@ class Setting {
],
[
'type' => 'content',
- 'content' => '默认规则跟随插件更新,插件更新后可删除规则重新添加以获取更多最新屏蔽规则,出现异常,请尝试先停用规则排查原因。',
+ 'content' => '默认规则跟随插件更新,插件更新后可删除规则重新添加以获取更多最新屏蔽规则,出现异常,请尝试先停用规则排查原因。',
],
],
] );
WP_CHINA_YES::createSection( $this->prefix, [
'title' => '飞行模式',
- 'icon' => 'fa fa-plane',
+ 'icon' => 'icon icon-airplane',
'fields' => [
[
'id' => 'plane',
@@ -315,7 +330,7 @@ class Setting {
],
'default' => 'off',
'subtitle' => '是否启用飞行模式',
- 'desc' => __( '文派叶子🍃(WP-China-Yes)独家特色功能,飞行模式可以屏蔽 WordPress 主题插件中国不能访问的服务 API 请求,加速网站前后台访问。注意:部分外部请求为产品更新检测,若屏蔽请定期手动检测。',
+ 'desc' => __( '飞行模式可屏蔽 WordPress 插件主题在中国无法访问的 API 请求,加速网站前后台访问。注:部分外部请求为产品更新检测,若已屏蔽请定期检测。',
'wp-china-yes' ),
],
[
@@ -323,7 +338,7 @@ class Setting {
'type' => 'group',
'title' => '规则列表',
'subtitle' => '飞行模式使用的 URL 屏蔽规则列表',
- 'desc' => __( '支持添加多条 URL 屏蔽规则',
+ 'desc' => __( '支持添加多条 URL 屏蔽规则',
'wp-china-yes' ),
'button_title' => '添加规则',
@@ -366,9 +381,10 @@ class Setting {
],
] );
+
WP_CHINA_YES::createSection( $this->prefix, [
- 'title' => '其他设置',
- 'icon' => 'fa fa-cogs',
+ 'title' => '节点监控',
+ 'icon' => 'icon icon-story',
'fields' => [
[
'id' => 'monitor',
@@ -379,64 +395,82 @@ class Setting {
'desc' => __( '脉云维护(MainCloud)支持自动监控各加速节点可用性,当节点不可用时自动切换至可用节点或关闭加速,以保证您的网站正常访问',
'wp-china-yes' ),
],
- [
- 'id' => 'hide',
- 'type' => 'switcher',
- 'default' => false,
- 'title' => '隐藏设置',
- 'subtitle' => '隐藏插件设置入口',
- 'desc' => __( '如果您不希望让客户知道本站启用了文派叶子🍃(WP-China-Yes)插件及服务,可开启此选项',
- 'wp-china-yes' ),
- ],
- [
- 'id' => 'custom_name',
- 'type' => 'text',
- 'title' => '品牌白标',
- 'subtitle' => '自定义插件显示品牌名',
- 'desc' => __( '专为 WordPress 建站服务商和代理机构提供的自定义品牌 OEM 功能,输入您的品牌词启用后生效',
- 'wp-china-yes' ),
- 'default' => "WP-China-Yes",
- ],
[
'type' => 'content',
- 'content' => '启用隐藏设置前请务必的保存或收藏当前设置页面 URL,否则您将无法再次进入插件设置页面',
+ 'content' => '启用隐藏设置前请务必的保存或收藏当前设置页面 URL,否则您将无法再次进入插件设置页面',
],
],
] );
WP_CHINA_YES::createSection( $this->prefix, [
- 'title' => '关于插件',
- 'icon' => 'fa fa-info-circle',
+ 'title' => '品牌白标',
+ 'icon' => 'icon icon-password-check',
'fields' => [
[
- 'type' => 'heading',
- 'content' => '文派叶子🍃 —— 开源 WordPress 中国网站加速器。',
- ],
- [
- 'type' => 'submessage',
- 'content' => '100% 开源代码,一起参与文派(WordPress)软件国产化进程,打造属于您自己的开源自助建站程序。',
- ],
- [
- 'type' => 'subheading',
- 'content' => '项目简介',
+ 'id' => 'custom_name',
+ 'type' => 'text',
+ 'title' => '品牌白标',
+ 'subtitle' => '自定义插件显示品牌名',
+ 'desc' => __( '专为 WordPress 建站服务商和代理机构提供的自定义品牌 OEM 功能,输入您的品牌词启用后生效',
+ 'wp-china-yes' ),
+ 'default' => "WP-China-Yes",
],
[
'type' => 'content',
- 'content' => '文派叶子 🍃(WP-China-Yes)是一款不可多得的 WordPress 系统底层优化和生态基础设施软件。项目起源于 2019 年,专为解决困扰了中国互联网数十年的特色问题而存在。此为文派开源(WenPai.org)的一部分。
将您的 WordPress 接入本土生态体系,这将为您提供一个更贴近中国人使用习惯的 WordPress。',
+ 'content' => '启用隐藏设置前请务必的保存或收藏当前设置页面 URL,否则您将无法再次进入插件设置页面',
],
+ ],
+ ] );
+
+
+ WP_CHINA_YES::createSection( $this->prefix, [
+ 'title' => '其他设置',
+ 'icon' => 'icon icon-setting',
+ 'fields' => [
[
- 'type' => 'subheading',
- 'content' => '赞助商',
- ],
- [
- 'type' => 'submessage',
- 'content' => '特别感谢以下企业品牌对文派项目提供的资金资源,同时期待社会各界参与。',
+ 'id' => 'hide',
+ 'type' => 'switcher',
+ 'default' => false,
+ 'title' => '隐藏设置',
+ 'subtitle' => '隐藏插件设置入口',
+ 'desc' => __( '如果您不希望让客户知道本站启用了文派叶子🍃(WP-China-Yes)插件及服务,可开启此选项',
+ 'wp-china-yes' ),
],
+ ],
+ ] );
+
+
+ WP_CHINA_YES::createSection( $this->prefix, [
+ 'title' => '建站套件',
+ 'icon' => 'icon icon-mouse',
+ 'fields' => [
[
'type' => 'content',
'content' =>
<<
+ 开源建站
文派寻鹿🦌(WP Deer)建站套件是由文派科技官方提供的企业建站产品集合,代码均为 100% GPL 开源,无任何加密隐藏。
+HTML,
+ ]
+ ],
+ ] );
+
+
+
+ WP_CHINA_YES::createSection( $this->prefix, [
+ 'title' => '关于插件',
+ 'icon' => 'icon icon-info-circle',
+ 'fields' => [
+ [
+ 'type' => 'content',
+ 'content' =>
+ <<
+
项目简介
文派(WordPress)中国本土化项目始于 2019 年,由 文派叶子🍃(WPCY) 插件开启,其前身为 WP-China-Yes。
+
+
2023 年 5 月,文派科技完成对该项目的收购,并对其进行了全面的品牌重塑。
+
赞助支持
特别感谢以下企业品牌对文派项目提供的资金资源支持。早期伙伴未来有机会共享文派生态资源,期待社会各界参与。
-HTML,
- ],
- [
- 'type' => 'subheading',
- 'content' => '开发者 & 贡献者',
- ],
- [
- 'type' => 'submessage',
- 'content' => '以下为对此项目提供过帮助的朋友,欢迎
贡献您自己的力量。',
- ],
- [
- 'type' => 'content',
- 'content' =>
- <<
-
孙锡源 |
-
耗子 |
-
Yulinn |
-
赵丰 |
-
jialong Dong |
-
TigerKK |
-
xianyu125 |
-
ElliotHughes |
-
诗语 |
-
莫蒂奇 |
-
薇晓朵
-
+
开发 & 贡献者
100% 开源代码,诚邀您一起参与文派 (WordPress) 软件国产化进程,打造属于自己的开源自助建站程序。
HTML,
]
],
] );
+
}
/**
diff --git a/assets/css/fonts.css b/assets/css/fonts.css
old mode 100644
new mode 100755
diff --git a/assets/css/setting.css b/assets/css/setting.css
old mode 100644
new mode 100755
index f72e77b..1ad5486
--- a/assets/css/setting.css
+++ b/assets/css/setting.css
@@ -1,26 +1,64 @@
+#wpcontent {
+ padding-left: 0px;
+}
+#wpbody-content {
+ padding-bottom: 0px;
+}
+#wpfooter {
+ display: none;
+}
+
+
+@media only screen and (max-width: 782px) {
+ .wp_china_yes-nav-normal+.wp_china_yes-content {
+ margin-left: 0!important;
+ }
+ .wp_china_yes-header-inner h1 {
+ margin-bottom: 20px;
+ }
+ .auto-fold #wpcontent {
+ padding-left: 0px;
+ }
+ .wp_china_yes-field-text input {
+ width: 100%;
+ }
+}
+
+.wp-core-ui .button, .wp-core-ui .button-primary, .wp-core-ui .button-secondary {
+ border-radius: 1px;
+}
+
.sponsor-logos {
display: block;
flex-wrap: wrap;
justify-content: center;
+ margin: 24px 0;
+ grid-gap: 24px;
+ grid-template-columns: repeat(7, minmax(0, 1fr));
+ align-items: center;
}
.sponsor-logos img {
flex-basis: calc(20% - 10px);
- max-width: 85px;
- margin: 14px;
+ max-width: 80px;
+ margin: 13px;
height: auto;
}
.contributors-name {
margin-top: 0;
margin-bottom: 0;
- padding: 12px;
+ padding: 20px 0;
color: #dcdcde;
+ display: block;
+ flex-wrap: wrap;
+ display: flex;
+ grid-gap: 22px;
}
-.contributors-name a {
- line-height: 2;
- padding: 0.5em;
+.wp_china_yes-content {
+ position: relative;
+ background-color: #f1f1f1;
}
.wp_china_yes-content a {
@@ -33,21 +71,67 @@
}
.wp_china_yes-options {
- background-color: #fff;
- padding: 1%;
+ background-color: #ffffff;
border-radius: 10px;
text-transform: none;
line-height: 2;
- box-shadow: 0 0.375rem 1.5rem 0 rgba(141, 153, 165, 0.13);
- max-width: 1100px;
- margin: 2rem auto;
+}
+
+.wp_china_yes-options {
+ margin-top: 0px;
+ margin-right: 0px;
+}
+
+.wp_china_yes-field.wp_china_yes-field-radio, .wp_china_yes-field-checkbox, .wp_china_yes-field-group, .wp_china_yes-field-switcher, .wp_china_yes-field-text {
+ padding: 8%;
+ background-color: #ffffff;
+ margin: 5% 0;
+ border-radius: 1px;
+ box-shadow: 0 0 0 1px #ccd0d4, 0 1px 1px 1px rgba(0, 0, 0, .04);
+}
+
+
+.wp_china_yes-section {
+ margin: 50px auto;
+ max-width: 1000px;
+ background-color: #f1f1f1;
+}
+
+.wp_china_yes-field {
+ position: relative;
+ border: 0px solid #ccd0d4;
+}
+
+.wp_china_yes-field+.wp_china_yes-field {
+ border-top: 0px solid #eee;
+}
+
+.wp_china_yes-field.wp_china_yes-field-content {
+ padding: 0px;
}
.wp_china_yes-section-title {
padding: 20px 30px;
background-color: #fff;
border-top: 0 solid #f5f5f5;
- border-bottom: 1px solid #f5f5f5;
+ border-bottom: 0px solid #eee;
+ box-shadow: 0 0 0 1px #ccd0d4, 0 1px 1px 1px rgba(0, 0, 0, .04);
+}
+
+.wp_china_yes-section-title h3 {
+ font-size: 14px;
+ font-weight: 400;
+}
+
+.wp_china_yes-section-title .wp_china_yes-section-icon {
+ margin-right: 10px;
+ width: 20px;
+ height: 24px;
+ line-height: 20px;
+ font-size: 20px;
+ text-align: center;
+ display: inline-block;
+ vertical-align: middle;
}
.wp_china_yes-field-subheading {
@@ -63,14 +147,18 @@
background: #ffffff;
}
+
.wp_china_yes-theme-light .wp_china_yes-nav-background {
background-color: #ffffff;
- border-right: 1px solid #f5f5f5;
+ border-right: 1px solid #dddddd;
+ flex-direction: column;
+ min-height: 100vh;
}
.wp_china_yes-theme-light .wp_china_yes-footer {
border-top: 1px solid #fff;
background: #ffffff;
+ display: none;
}
.wp_china_yes-field-heading {
@@ -78,24 +166,71 @@
background-color: #ffffff;
}
+.wp_china_yes-nav-normal {
+ width: 205px;
+ padding-left: 20px;
+}
+
+.wp_china_yes-nav {
+ padding: 20px;
+}
+.wp_china_yes-nav-background {
+ width: 250px;
+}
+.wp_china_yes-nav ul li a {
+ font-size: 13px;
+ position: relative;
+ display: block;
+ padding: 10px 15px;
+ margin: 5px;
+ text-decoration: none;
+ transition-property: color, background;
+ transition-duration: .2s;
+ transition-timing-function: ease;
+}
+
+.wp_china_yes-nav .wp_china_yes-tab-icon {
+ margin-right: 10px;
+ width: 20px;
+ height: 24px;
+ line-height: 20px;
+ font-size: 20px;
+ text-align: center;
+ display: inline-block;
+ vertical-align: middle;
+}
+
.wp_china_yes-theme-light .wp_china_yes-nav ul li a {
background-color: #ffffff;
}
+.wp_china_yes-theme-light .wp_china_yes-nav ul li a:hover {
+ color: #3858e9;
+ background-color: #f1f1f1;
+}
.wp_china_yes-submessage-normal {
border-color: #ffffff;
background-color: #ffffff;
}
-.wp_china_yes-field + .wp_china_yes-field {
- border-top: 1px solid #ffffff;
+
+.wp_china_yes-nav-normal+.wp_china_yes-content {
+ margin-left: 248px;
+}
+
+.wp_china_yes-search-all .wp_china_yes-content, .wp_china_yes-show-all .wp_china_yes-content {
+ margin-left: 0;
}
.wp_china_yes-theme-light .wp_china_yes-nav-normal > ul li a {
- border-bottom: 1px solid #f5f5f5;
- border-right: 1px solid #f5f5f5;
+ border-bottom: 0px solid #f5f5f5;
+ border-right: 0px solid #f5f5f5;
+}
+.wp_china_yes-theme-light .wp_china_yes-nav ul li .wp_china_yes-active {
+ color: #111;
+ background-color: #f5f5f7;
+ background: #f5f5f7;
}
-
.wp_china_yes-field-group .wp_china_yes-cloneable-header-icon {
font-size: 10px;
}
@@ -116,28 +251,37 @@
.wp_china_yes-field-group .wp_china_yes-cloneable-title {
border: 1px solid #ccd0d4;
background-color: #ffffff;
- border-radius: 8px;
+ border-radius: 1px;
}
.wp_china_yes-field-group .wp_china_yes-cloneable-content {
- border: 0 solid #ffffff;
- background-color: #ffffff;
+ padding: 0;
+ border-top: 1px solid #ffffff;
+}
+
+.wp_china_yes-field-group .wp_china_yes-cloneable-content>.wp_china_yes-field {
+ padding: 15px;
+ margin: 20px;
}
.wp_china_yes-sticky .wp_china_yes-header-inner {
- border-radius: 10px;
- box-shadow: 0 0 10px rgba(0, 0, 0, .1);
+ border-bottom: 1px solid #dddddd;
+ background: #ffffff;
+}
+.wp_china_yes-sticky .wp_china_yes-header-inner {
+ position: fixed;
+ box-shadow: unset;
}
.wp_china_yes-warning-primary {
- color: #fff !important;
- border-color: #2c3338 !important;
- background: #2c3338 !important;
+ color: #5e77ec !important;
+ border-color: #5e77ec !important;
+ background: #ffffff !important;
}
.wp_china_yes-warning-primary:focus, .wp_china_yes-warning-primary:hover {
- border-color: #1d2327 !important;
- background: #1d2327 !important;
+ border-color: #3858e9 !important;
+ background: #ffffff !important;
}
.wp_china_yes-field-switcher .wp_china_yes--switcher:not(.wp_china_yes--active) {
@@ -148,3 +292,139 @@
margin-right: -2px;
margin-bottom: -1px;
}
+
+
+@media screen and (max-width: 600px) {
+.wpcy-about__grid {
+ grid-template-columns: 1fr!important;
+ }
+}
+
+
+span.wpcy-icon-inner {
+ line-height: 1px;
+ font-size: 28px;
+ color: #000000;
+}
+
+span.wpcy-icon-inner-list {
+ line-height: 0px;
+ font-size: 24px;
+ color: #000000;
+}
+
+.wpcy-about__grid {
+ margin: 24px auto;
+ display: grid;
+ grid-gap: 24px;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+}
+
+.wpcy-kit__grid {
+ margin: 24px auto;
+ display: grid;
+ grid-gap: 24px;
+ grid-template-columns: repeat(1, minmax(0, 1fr));
+}
+
+.column.wpcy-kit-banner {
+ padding: 6% 6% 3%!important;
+}
+
+.wpcy-about__grid .column {
+ padding: 10%;
+ background-color: #ffffff;
+ border-radius: 1px;
+ box-shadow: 0 0 0 1px #ccd0d4, 0 1px 1px 1px rgba(0, 0, 0, .04);
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+}
+.wpcy-about__grid.columns-1 {
+ grid-template-columns: repeat(1, minmax(0, 1fr));
+}
+.wpcy-about__grid.columns-3 {
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+}
+.wpcy-about__grid .column > svg {
+ width: 30px;
+ height: 30px;
+ margin-left: -3px;
+}
+
+.wpcy-buttons {
+ margin-top: 4px;
+ margin-bottom: 32px;
+ display: flex;
+ flex-wrap: wrap;
+ gap: 12px;
+}
+.wpcy-banner img {
+ max-width: 100%;
+ width: 100%;
+ height: auto;
+ margin-top: auto;
+ vertical-align: middle;
+}
+.components-button.has-icon {
+ justify-content: center;
+ min-width: 36px;
+ padding: 6px;
+}
+.components-button.has-icon.has-text {
+ gap: 4px;
+ justify-content: start;
+ padding-left: 8px;
+ padding-right: 12px;
+}
+
+.wpcy-about__list li a:not(:hover) {
+ text-decoration: none;
+}
+.components-button {
+ align-items: center;
+ -webkit-appearance: none;
+ background: none;
+ border: 0;
+ border-radius: 2px;
+ box-sizing: border-box;
+ color: var(--wp-components-color-foreground, #1e1e1e);
+ cursor: pointer;
+ display: inline-flex
+;
+ font-family: inherit;
+ font-size: 13px;
+ font-weight: 400;
+ height: 36px;
+ margin: 0;
+ padding: 6px 12px;
+ text-decoration: none;
+ transition: box-shadow .1s linear;
+}
+.components-button.button-link {
+ background: none;
+ border: 0;
+ border-radius: 0;
+ box-shadow: none;
+ color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
+ height: auto;
+ margin: 0;
+ outline: none;
+ padding: 0;
+ text-align: left;
+ text-decoration: underline;
+ transition-duration: .05s;
+ transition-property: border, background, color;
+ transition-timing-function: ease-in-out;
+}
+.components-button.button-primary {
+ display: inline-flex;
+ padding: 6px 12px;
+}
+
+.components-button.button-secondary {
+ background: #0000;
+ display: inline-flex;
+ padding: 6px 12px;
+}
+
diff --git a/assets/images/website-banner.jpg b/assets/images/website-banner.jpg
new file mode 100755
index 0000000..475afd7
Binary files /dev/null and b/assets/images/website-banner.jpg differ
diff --git a/wp-china-yes.php b/wp-china-yes.php
old mode 100644
new mode 100755
index 1cdd69e..597557f
--- a/wp-china-yes.php
+++ b/wp-china-yes.php
@@ -3,8 +3,8 @@
* Plugin Name: WP-China-Yes
* Description: 文派叶子 🍃(WP-China-Yes)是中国 WordPress 生态基础设施软件,犹如落叶新芽,生生不息。
* Author: 文派开源
- * Author URI: https://wp-china-yes.com
- * Version: 3.7.1
+ * Author URI: https://wpcy.com
+ * Version: 3.8
* License: GPLv3 or later
* Text Domain: wp-china-yes
* Domain Path: /languages
@@ -19,7 +19,7 @@ namespace WenPai\ChinaYes;
defined( 'ABSPATH' ) || exit;
-define( 'CHINA_YES_VERSION', '3.7.1' );
+define( 'CHINA_YES_VERSION', '3.8' );
define( 'CHINA_YES_PLUGIN_FILE', __FILE__ );
define( 'CHINA_YES_PLUGIN_URL', plugin_dir_url( CHINA_YES_PLUGIN_FILE ) );
define( 'CHINA_YES_PLUGIN_PATH', plugin_dir_path( CHINA_YES_PLUGIN_FILE ) );