上传批准的插件到wordpress库

Add Your Plugin

提交代码给WP官方,大约一个周,他们会给审核结果。

当然如果代码有问题,可以修改后,直接作为邮件附件发送给WP团队审核即可。这个审核会很快,大约1天就能通过了。

SVN

插件通过审核之后,下一步就是通过SVN,将代码上传到WP插件库。我本人也是第一次玩这种版本控制的纯代码工具,跟FTP,SSH和GIT都有点像。在MAC上通过Terminal直接操作即可。

Congratulations, the plugin hosting request for Custom Waimao Welcome Dashboard has been approved. Within one (1) hour your account (qq2466380523) will be granted commit access to your Subversion (SVN) repository.

* SVN URL: https://plugins.svn.wordpress.org/custom-waimao-welcome-dashboard
* Public URL: https://wordpress.org/plugins/custom-waimao-welcome-dashboard

Once your account access has been activated, you may upload your code using a SVN client of your choice. If you are new to SVN (or the Plugin Directory) make sure to review all the links in this email.

上面是插件通过审核的邮件

首先创建插件目录,当然这一步不用命令行直接创建就好了:

mkdir custom-waimao-welcome-dashboard

2. checkout 插件的文件:

svn co https://plugins.svn.wordpress.org/custom-waimao-welcome-dashboard custom-waimao-welcome-dashboard

3. 然后把修改好的插件文件复制到本地 SVN 目录的 truck 目录下,并添加这些文件到 SVN 管理:

svn add trunk/*

4. 提交到 WordPress 官方插件 SVN 库,并写入相应的备注:

svn ci -m 'version 1.0'

默认会使用root作为账号,让你输入密码,直接按下回车,就会出现重新输入用户名的提示,这时候输入你在 WordPress.org 的账号,然后输入密码,即可提交成功。

同样的方法可以提交logo和banner,在assets,如图

svn add trunk/*

我们将在15分钟内联系你

免费提供行业网站方案以及海外推广计划