{"id":940,"date":"2006-02-11T21:44:51","date_gmt":"2006-02-12T01:44:51","guid":{"rendered":"http:\/\/www.hoogervorst.ca\/arthur\/?p=940"},"modified":"2006-02-11T21:50:14","modified_gmt":"2006-02-12T01:50:14","slug":"it-hurts-sometimes","status":"publish","type":"post","link":"http:\/\/www.hoogervorst.ca\/arthur\/?p=940","title":{"rendered":"It hurts. Sometimes."},"content":{"rendered":"<p><span class=\"dropcap\">O<\/span>h, so it was. While changing the layout, I peeked around at the WP tables and decided to &#8216;merge&#8217; a couple of older MT-related categories with the appropriate ones. To my surprise, I noticed that the <em>rowcount<\/em> (or, the number of posts in a category) was actually stored in a separate field in the wp_categories table. I have no problems with that (usage of the count function is generally not recommended).\n<\/p>\n<p>It looks like the WP bug I <a href=\"http:\/\/www.hoogervorst.ca\/arthur\/?p=937\">mentioned before<\/a>,  has everything to do with the &#8216;upload image\/send to editor&#8217; procedure: the bug is persistent when you specifically link an image to a page. For now, linking to an image directly will do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oh, so it was. While changing the layout, I peeked around at the WP tables and decided to &#8216;merge&#8217; a couple of older MT-related categories with the appropriate ones. To my surprise, I noticed that the rowcount (or, the number &hellip; <a href=\"http:\/\/www.hoogervorst.ca\/arthur\/?p=940\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts\/940"}],"collection":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=940"}],"version-history":[{"count":0,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts\/940\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=940"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}