WordPress plugin intelligence profile

DEFINE SERVER

通过更换wordpress的api、download服务器来解决中国区用户无法访问的问题

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.3
Current version1.0.1
WordPress coverageTested up to WordPress 5.3
Minimum stackWP 4.2 · PHP 5.6.0
Directory statusactive
Last directory update10 Mar 20206y ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records DEFINE SERVER version 1.0.1 as active, updated 6y ago and tested up to WordPress 5.3.

Overview

About this plugin

由于未知原因,Wordpress屏蔽了来自中国的访问,这就造成了服务器在中国的wordpress无法进行正常的更新与安装主题等功能。根据网络现有资源,我“组合”出了一个插件来解决此问题。

站在巨人的肩膀上

  • wp-china-yes 这个插件可以直接替换掉服务器,不过没有自定义功能。
  • wp-smtp 这个插件提供了简介的配置页面。

所以我拿了1的替换服务器部分代码加上2的配置页面,组成了“DEFINE SERVER”。

原理:

插件功能通过替换Wordpress国内无法访问的域名来实现。

核心代码如下:

org', $wsOptions["downserver"], $url );<h3>使用:</h3>

安装

你可以选择在wp后台安装,亦或者手动安装

-

后台安装

org/plugins/DEFINE-SERVER/ ,你也可以尝试在后台搜索 DEFINE-SERVER

-

手动安装

-

下载插件

你可以在github的 releases 页面获取最新版本信息,然后下载zip压缩包。

-

上传并启用

php)

设置

org ,也就是不会改变默认服务器。所以如果需要进一步使用插件的话,需要自行设置代理服务器。

-

我们推荐使用Cloudflare的workers自行搭建(白 女票),详情可以参照此仓库 Workers-Proxy 。如果你懒得折腾,也可以使用我的测试服务器(不保证稳定性)

dev

dev

-

当然也可以通过nginx,Apache等组件进行反代服务,不过我觉得这样就违背了本插件出现的意义。(想反代就必须要有可以访问wp的服务器,而我们可以访问还要什么反代 (ノ=Д=)ノ┻━┻。)

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • 429 too many requests
  • cdn
  • china
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.3
Minimum requirementsWordPress 4.2 · PHP 5.6.0
Update activity10 Mar 20206y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.