{"id":2263019,"date":"2011-08-25T15:21:42","date_gmt":"2011-08-25T15:21:42","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/undefined-post-variable\/"},"modified":"2016-08-20T02:08:32","modified_gmt":"2016-08-20T02:08:32","slug":"undefined-post-variable","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/undefined-post-variable\/","title":{"rendered":"undefined `$post` variable"},"content":{"rendered":"<p>I was getting a couple of errors in the admin from line 181 of multiedit.php, since <code>$post<\/code> was undefined.  I corrected this by putting <code>global $post;<\/code> on line 155 just after <code>function drawMultieditHTML($meta,$presentregions) {<\/code><\/p>\n<p>I don&#8217;t see any way to contribute to this project, so I&#8217;m just posting the change here.<\/p>\n","protected":false},"template":"","class_list":["post-2263019","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2263019","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\/2263019\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2263019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}