{"id":72,"date":"2009-03-13T23:03:14","date_gmt":"2009-03-14T03:03:14","guid":{"rendered":"http:\/\/www.compdigitec.com\/labs\/?p=72"},"modified":"2011-02-14T06:39:29","modified_gmt":"2011-02-14T11:39:29","slug":"removing-wordpress-post-revisions-feature","status":"publish","type":"post","link":"http:\/\/www.compdigitec.com\/labs\/2009\/03\/13\/removing-wordpress-post-revisions-feature\/","title":{"rendered":"Removing WordPress post revisions feature"},"content":{"rendered":"<p>WordPress 2.6 and above&#8217;s new feature of post revisions only slows WordPress down and makes it less usable. So here is how to disable post revisions:<\/p>\n<ol>\n<li>Open <strong>wp-config.php<\/strong> in your wordpress installation directory with a text editor.<\/li>\n<li>Add the line &#8220;<code><strong>define('WP_POST_REVISIONS', false);<\/strong>\" anywhere in the file in a new line after the <strong>&lt;?php<\/strong> header.<\/code><\/li>\n<li>Save it and upload it to your webserver, overwriting the previous file.<\/li>\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>WordPress 2.6 and above&#8217;s new feature of post revisions only slows WordPress down and makes it less usable. So here is how to disable post revisions: Open wp-config.php in your wordpress installation directory with a text editor. Add the line &#8220;define(&#8216;WP_POST_REVISIONS&#8217;, false);&#8221; anywhere in the file in a new line after the &lt;?php header. Save [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,14],"tags":[317,409,339,419,420,421,407,152],"_links":{"self":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/72"}],"collection":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":0,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}