Update a previous version of plugin when the new plugin is built from the scratch

I'm seeking help and suggestion from all of you. I've built a plugin from the scratch and now instructed to up

I'm seeking help and suggestion from all of you. I've built a plugin from the scratch and now instructed to update the previous version of that plugin. But the new version that I've created is totally different from the previous version. The name of the files, folders, project structure and database(I've created few tables not using anything from the old) even the text-domain is changed. I've searched through the internet to see how update works and found wordpress maintains a svn repository and maintain a tag folder for versions. But I'm not sure if everything is changed will that work. What should I be concerned about updating a previous version of a plugin. I'm looking for you kind advice or solution here what would be the best for me in this situation so that the users can see a new version comes in and a single click will update their previous version. Thank you.

I'm seeking help and suggestion from all of you. I've built a plugin from the scratch and now instructed to update the previous version of that plugin. But the new version that I've created is totally different from the previous version. The name of the files, folders, project structure and database(I've created few tables not using anything from the old) even the text-domain is changed. I've searched through the internet to see how update works and found wordpress maintains a svn repository and maintain a tag folder for versions. But I'm not sure if everything is changed will that work. What should I be concerned about updating a previous version of a plugin. I'm looking for you kind advice or solution here what would be the best for me in this situation so that the users can see a new version comes in and a single click will update their previous version. Thank you.

Share Improve this question asked Sep 29, 2019 at 5:18 DeveloperDeveloper 1354 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If you put your plugin in the WP Repository, and

  • change the version number in the readme.txt file
  • put the new code in a new 'tags' folder with the version as the folder name
  • also put the new code in the root of your repository (and I also put it in the 'trunk' folder
  • and do the SVN Update thing

Then anyone with the plugin installed will get a notice about the update via the Admin, Update screen. And updating it will get the latest version installed on their WP system.

I'd put some sort of notice on the Settings screen about the new version, in addition to the needed information in the readme.txt file , which is used to display text on the various pages on your WP plugin page.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745120106a4612363.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信