How to update your wordpress plugin in easy steps

Updating your wordpress plugin can be confusing if you’re doing it the first time. It’s easy but can be confusing if you don’t know the right steps.

So here is the step by step process to do it right and quickly without any confusion:

  1. Make the changes in the code in your plugin code.
  2. Test the plugin on a test environment before pushing to your Github repository. Assuming you have one.
  3. Once tested, edit readme.txt. Update change log, version and stable tag.
  4. Once readme.txt has been updated, update version in your plugin’s main file for example: plugin-name.php.
  5. Once done push the changes to your git repository.
  6. Create a release in github. So if version number you are upgrading to is 1.0.1 then create a release with the title “Version 1.0.1”, update the changes in the description, and save it.
  7. Now we are good with the changes, let’s clone the wordpress plugin svn repo on your system. Repository url will be like this: You can use any SVN client for the same.
  8. In your SVN repository, go to tags folder, and create a new folder with the name same as version number. So in our case it will be 1.0.1 given version number we are upgrading to is 1.0.1.
  9. Put the latest code with all the change we made in this newly created folder.
  10. Now go to trunk folder in the root folder of your SVN repository, delete everything from there and put the latest code.
  11. Once done, commit the repository back to your WordPress SVN repository.
  12. Now go to WordPress plugin page and check if version is up and test it on your blog.

How easy was that.

By Abhishek Jain

Techie with 10+ years of experience and counting.

Leave a comment

Your email address will not be published. Required fields are marked *