{"id":4785319,"date":"2014-04-08T03:55:58","date_gmt":"2014-04-08T03:55:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/21-update-broken\/"},"modified":"2016-08-21T19:07:03","modified_gmt":"2016-08-21T19:07:03","slug":"21-update-broken","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/21-update-broken\/","title":{"rendered":"2.1 Update Broken"},"content":{"rendered":"<p>Good job on the 2.1 update. It broke the entire wordpress site, on first use after the update. I couldn&#8217;t even uninstall the theme from admin since that was broken too.<\/p>\n<p>Fortunately I was able to track down the problem to 2 lines of code in wp-content\/themes\/narga\/core\/library\/layouts\/custom-header.php at lines 56 and 60. <\/p>\n<p>Both !empty(get_header_image()) calls in the if statement needed to be replaced by first putting the return value of get_header_image into a variable and using that variable instead. The empty function requires a variable.<\/p>\n<p>So. Good job testing that guys. It kinda looks like you didn&#8217;t.<\/p>\n","protected":false},"template":"","class_list":["post-4785319","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4785319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4785319\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4785319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}