{"id":224,"date":"2017-12-21T00:06:10","date_gmt":"2017-12-21T00:06:10","guid":{"rendered":"http:\/\/blog.staginginstance.com\/?p=224"},"modified":"2017-12-21T00:08:44","modified_gmt":"2017-12-21T00:08:44","slug":"how-to-update-wordpress-plugin-easy-steps","status":"publish","type":"post","link":"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/","title":{"rendered":"How to update your wordpress plugin in easy steps"},"content":{"rendered":"<p>Updating your wordpress plugin can be confusing if you&#8217;re doing it the first time. It&#8217;s easy but can be confusing if you don&#8217;t know the right steps.<\/p>\n<h3>So here is the step by step process to do it right and quickly without any confusion:<\/h3>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Make the changes in the code in your plugin code.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Test the plugin on a test environment before pushing to your Github repository. Assuming you have one.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Once tested, edit readme.txt. Update change log, version and stable tag.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Once readme.txt has been updated, update version in your plugin&#8217;s main file for example: plugin-name.php.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Once done push the changes to your git repository.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Create a <\/span><span style=\"font-weight: 400;\">release<\/span><span style=\"font-weight: 400;\"> in github. So if version number you are upgrading to is 1.0.1 then create a release with the title \u201cVersion 1.0.1\u201d, update the changes in the description, and save it.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now we are good with the changes, let&#8217;s clone the wordpress plugin svn repo on your system. Repository url will be like this:\u00a0<\/span><a href=\"https:\/\/plugins.svn.wordpress.org\/your-plugin-name\"><span style=\"font-weight: 400;\">https:\/\/plugins.svn.wordpress.org\/your-plugin-name<\/span><\/a>. You can use any SVN client for the same.<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">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.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Put the latest code with all the change we made in this newly created folder.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now go to trunk folder in the root folder of your SVN repository, delete everything from there and put the latest code.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Once done, commit the repository back to your WordPress SVN repository.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now go to WordPress plugin page and check if version is up and test it on your blog.<\/span><\/li>\n<\/ol>\n<p>How easy was that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updating your wordpress plugin can be confusing if you&#8217;re doing it the first time. It&#8217;s easy but can be confusing if you don&#8217;t know the right steps. So here is the step by step process to do it right and quickly without any confusion: Make the changes in the code in your plugin code. Test&hellip; <a class=\"more-link\" href=\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/\">Continue reading <span class=\"screen-reader-text\">How to update your wordpress plugin in easy steps<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[18,16,19],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to update your wordpress plugin in easy steps<\/title>\n<meta name=\"description\" content=\"Updating your wordpress plugin can be confusing if you&#039;re doing it the first time. It&#039;s easy but can be confusing if you don&#039;t know the right steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to update your wordpress plugin in easy steps\" \/>\n<meta property=\"og:description\" content=\"Updating your wordpress plugin can be confusing if you&#039;re doing it the first time. It&#039;s easy but can be confusing if you don&#039;t know the right steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/\" \/>\n<meta property=\"og:site_name\" content=\"Learner at life\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/abhij89\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-21T00:06:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-21T00:08:44+00:00\" \/>\n<meta name=\"author\" content=\"Abhishek Jain\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to update your wordpress plugin in easy steps\" \/>\n<meta name=\"twitter:description\" content=\"Updating your wordpress plugin can be confusing if you&#039;re doing it the first time. It&#039;s easy but can be confusing if you don&#039;t know the right steps.\" \/>\n<meta name=\"twitter:image\" content=\"http:\/\/blog.staginginstance.com\/wp-content\/uploads\/2017\/12\/updatewpplugins.png\" \/>\n<meta name=\"twitter:creator\" content=\"@abhij89\" \/>\n<meta name=\"twitter:site\" content=\"@abhij89\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abhishek Jain\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/\",\"url\":\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/\",\"name\":\"How to update your wordpress plugin in easy steps\",\"isPartOf\":{\"@id\":\"https:\/\/geekabhi.com\/blog\/#website\"},\"datePublished\":\"2017-12-21T00:06:10+00:00\",\"dateModified\":\"2017-12-21T00:08:44+00:00\",\"author\":{\"@id\":\"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e\"},\"description\":\"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.\",\"breadcrumb\":{\"@id\":\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/geekabhi.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to update your wordpress plugin in easy steps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/geekabhi.com\/blog\/#website\",\"url\":\"https:\/\/geekabhi.com\/blog\/\",\"name\":\"Learner at life\",\"description\":\"Blog to help you learn stuff\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/geekabhi.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e\",\"name\":\"Abhishek Jain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g\",\"caption\":\"Abhishek Jain\"},\"description\":\"Techie with 10+ years of experience and counting.\",\"sameAs\":[\"http:\/\/www.geekabhi.com\",\"https:\/\/twitter.com\/abhij89\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to update your wordpress plugin in easy steps","description":"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.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/","og_locale":"en_US","og_type":"article","og_title":"How to update your wordpress plugin in easy steps","og_description":"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.","og_url":"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/","og_site_name":"Learner at life","article_publisher":"http:\/\/abhij89","article_published_time":"2017-12-21T00:06:10+00:00","article_modified_time":"2017-12-21T00:08:44+00:00","author":"Abhishek Jain","twitter_card":"summary_large_image","twitter_title":"How to update your wordpress plugin in easy steps","twitter_description":"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.","twitter_image":"http:\/\/blog.staginginstance.com\/wp-content\/uploads\/2017\/12\/updatewpplugins.png","twitter_creator":"@abhij89","twitter_site":"@abhij89","twitter_misc":{"Written by":"Abhishek Jain","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/","url":"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/","name":"How to update your wordpress plugin in easy steps","isPartOf":{"@id":"https:\/\/geekabhi.com\/blog\/#website"},"datePublished":"2017-12-21T00:06:10+00:00","dateModified":"2017-12-21T00:08:44+00:00","author":{"@id":"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e"},"description":"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.","breadcrumb":{"@id":"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/geekabhi.com\/blog\/how-to-update-wordpress-plugin-easy-steps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/geekabhi.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to update your wordpress plugin in easy steps"}]},{"@type":"WebSite","@id":"https:\/\/geekabhi.com\/blog\/#website","url":"https:\/\/geekabhi.com\/blog\/","name":"Learner at life","description":"Blog to help you learn stuff","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/geekabhi.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/75cf5ee8cc7d8c1a9ba81628bb57443e","name":"Abhishek Jain","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/geekabhi.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/85387a40fe2c6954082743d1a8aa6c0f?s=96&d=mm&r=g","caption":"Abhishek Jain"},"description":"Techie with 10+ years of experience and counting.","sameAs":["http:\/\/www.geekabhi.com","https:\/\/twitter.com\/abhij89"]}]}},"_links":{"self":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts\/224"}],"collection":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":2,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":227,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions\/227"}],"wp:attachment":[{"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekabhi.com\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}