{"id":591,"date":"2011-02-03T02:21:26","date_gmt":"2011-02-03T07:21:26","guid":{"rendered":"http:\/\/pappp.net\/?p=591"},"modified":"2011-02-03T02:32:23","modified_gmt":"2011-02-03T07:32:23","slug":"beware-wordpress-revision-behavior","status":"publish","type":"post","link":"https:\/\/pappp.net\/?p=591","title":{"rendered":"Beware WordPress Revision Behavior"},"content":{"rendered":"<p>The editing\/cleaning\/etc. I&#8217;ve been doing to the new blog has caused lots of inconsequential minor revisions to content&#8230; which would be fine except that, by default, recent versions of WP generate a new PostID (and associated database cruft) EVERY TIME YOU MAKE A REVISION, resulting in about 350 bogus PostIDs between my last two posts &#8211; about 200 of them from leaving the editor up and autosaving for a couple hours.  The interwebs are full of notes about adding <code>define('WP_POST_REVISIONS', false);<\/code> to wp-config.php to turn revision saving off, and there is a handy <a href=\"http:\/\/wordpress.org\/extend\/plugins\/delete-revision\/\">delete-revision<\/a> plugin to purge any that got by without having to bust out SQL tools, but what a dumb behavior.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The editing\/cleaning\/etc. I&#8217;ve been doing to the new blog has caused lots of inconsequential minor revisions to content&#8230; which would be fine except that, by default, recent versions of WP generate a new PostID (and associated database cruft) EVERY TIME &hellip; <a href=\"https:\/\/pappp.net\/?p=591\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[4,1,5],"tags":[123,23,122,117],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-computers","category-general","category-meta","tag-autosave","tag-hate","tag-revisions","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=591"}],"version-history":[{"count":0,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions"}],"wp:attachment":[{"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}