admin管理员组文章数量:1391925
I have developed A WordPress plugin. After updating it, it is not showing the WordPress version at wordpress plugin list.
wordpress URL: /
SVN URL: /
I have developed A WordPress plugin. After updating it, it is not showing the WordPress version at wordpress plugin list.
wordpress URL: https://wordpress/plugins/mail2users/
SVN URL: https://plugins.svn.wordpress/mail2users/
Share Improve this question edited Jan 29, 2017 at 6:51 Dave Romsey 17.9k11 gold badges56 silver badges70 bronze badges asked Jan 29, 2017 at 6:41 Karam SinghKaram Singh 1112 bronze badges2 Answers
Reset to default 1The WordPress plugin repository always starts with what is in trunk. It reads down to the "Stable Tag" label. If the stable tag is "trunk" it continues reading from trunk. This is what people who download your plugin will get.
If, however, the stable tag label is a tag (in this case, 1.0.7), it quits reading trunk and goes to that tag directory and reads from there. This is what people who download your plugin will get.
If you are adding a new tagged version, you need to add that directory to tag, and then update the stable tag in trunk. You also need to give the repository a few minutes to update. Changes are not immediate.
I've sometimes struggled with the proper placement of plugins folder structure in Subversion. The process that works for me:
- base (root) folder of your plugin folder: the ZIP and uncompressed files of your latest version of the plugin
- the 'trunk' folder : ZIP + uncompressed files of latest version
- the 'tag' folder: create a subfolder that matches the 'Version" Parameter in your plugin header, then put the ZIP/Uncompressed files in there.
Do this on your local Subversion folder, then SVN Commit up to the WordPRess Subversion area , then SVN Update to get the versioning synced to your local Subversion area.
This is what has worked for me; I suspect there might be some fine-tuning needed (like not needing the uncompressed files everywhere..)
本文标签: Plugin version is not showing up in wordpressorg plugin directory
版权声明:本文标题:Plugin version is not showing up in wordpress.org plugin directory 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744660341a2618205.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论