{"id":953,"date":"2007-01-24T20:25:16","date_gmt":"2007-01-25T01:25:16","guid":{"rendered":"http:\/\/www.allyngibson.net\/?p=953"},"modified":"2007-01-24T20:25:16","modified_gmt":"2007-01-25T01:25:16","slug":"on-getting-things-fixed","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=953","title":{"rendered":"On Getting Things Fixed"},"content":{"rendered":"<p>Hopefully, this will be the last post on upgrading WordPress.  Hopefully. \ud83d\ude09<\/p>\n<p>It took about two hours, but the sidebar links <i>finally<\/i> work again.  It wasn&#8217;t an easy fix&#8211;I dug through files of the WordPress code to figure out how the new WordPress code passed arguments to the database to pull link categories and, by extension, the links themselves.  &#8220;The file&#8217;s called Links, let&#8217;s see what&#8217;s in there!&#8221;  &#8220;Wait!  This file is called Categories, there&#8217;s gotta be something I can use in there!&#8221;  &#8220;Oh, bugger, what about this file over here!&#8221;<\/p>\n<p>Ultimately, I pieced together one line of .php code, dropped it into the file that controls the sidebar, and <i>voila!<\/i><\/p>\n<p>Actually, it took two tries.  Don&#8217;t think I&#8217;m <i>that<\/i> good. \ud83d\ude42<\/p>\n<p>But I <i>was<\/i> very close the first time.  That attempt gave me all the link categories (plus the associated links), along with all the categories I&#8217;ve used for posts over the years.  So then it became a case of figuring out how to pass the argument to filter out the post categories and leave the link categories.<\/p>\n<p>So back to reading code I went.  But it didn&#8217;t take nearly as long.  Maybe ten more minutes.<\/p>\n<p>And now, it&#8217;s done.  The upgrade.  And to think I thought it&#8217;d be a fifteen minute deal two days ago.  Oh, how little did I know&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hopefully, this will be the last post on upgrading WordPress. Hopefully. \ud83d\ude09 It took about two hours, but the sidebar links finally work again. It wasn&#8217;t an easy fix&#8211;I dug through files of the WordPress code to figure out how the new WordPress code passed arguments to the database to pull link categories and, by<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=953\">Continue reading <span class=\"screen-reader-text\">&#8220;On Getting Things Fixed&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4095],"tags":[652,4096],"class_list":["post-953","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-tarski","tag-wordpress","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=953"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/953\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=953"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}