{"id":3477,"date":"2019-05-24T17:45:07","date_gmt":"2019-05-24T21:45:07","guid":{"rendered":"https:\/\/red-sweater.com\/blog\/?p=3477"},"modified":"2019-05-24T21:41:37","modified_gmt":"2019-05-25T01:41:37","slug":"improving-the-wordpress-api","status":"publish","type":"post","link":"https:\/\/redsweater.com\/blog\/3477\/improving-the-wordpress-api","title":{"rendered":"Improving the WordPress API"},"content":{"rendered":"<p>Some MarsEdit customers may have run across a problem where posts that were published as &#8220;Draft&#8221; posts to WordPress end up getting stuck with the original draft publish date as the <em>actual publish date<\/em> when the post is changed to Published.<\/p>\n<p>I took on the task of identifying the source of this problem and fixing it in the open-source WordPress project. That was 7 months ago. Unfortunately, it hasn&#8217;t been integrated yet. Here&#8217;s my post about the situation:<\/p>\n<p><a href=\"https:\/\/bitsplitting.org\/2019\/05\/24\/unloved-patches\/\">Unloved Patches<\/a><\/p>\n<p>MarsEdit&#8217;s functionality is often limited by the capabilities of the blogs to which it publishes. WordPress is unusual in that it is <a href=\"https:\/\/wordpress.org\">open source<\/a>, so anybody can contribute improvements to the platform. If those improvements are never accepted, however, it may as well not be open source.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some MarsEdit customers may have run across a problem where posts that were published as &#8220;Draft&#8221; posts to WordPress end up getting stuck with the original draft publish date as the actual publish date when the post is changed to Published. I took on the task of identifying the source of this problem and fixing [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,40],"tags":[],"class_list":["post-3477","post","type-post","status-publish","format-standard","hentry","category-links","category-marsedit"],"_links":{"self":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/3477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/comments?post=3477"}],"version-history":[{"count":3,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/3477\/revisions"}],"predecessor-version":[{"id":3480,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/3477\/revisions\/3480"}],"wp:attachment":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/media?parent=3477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/categories?post=3477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/tags?post=3477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}