{"id":16534217,"date":"2023-03-06T22:39:40","date_gmt":"2023-03-06T22:39:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/function-is_search-was-called-incorrectly\/"},"modified":"2023-03-06T22:39:40","modified_gmt":"2023-03-06T22:39:40","slug":"function-is_search-was-called-incorrectly","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/function-is_search-was-called-incorrectly\/","title":{"rendered":"Function is_search was called incorrectly"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Can this notice be addressed?<br \/><br \/>It\u2019s only a notice, but it\u2019s being generated a lot.<br \/><br \/>User Notice: Function is_search was called <strong>incorrectly<\/strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href=\"https:\/\/wordpress.org\/support\/article\/debugging-in-wordpress\/\">Debugging in WordPress<\/a> for more information. (This message was added in version 3.1.0.)<\/p>\n","protected":false},"template":"","class_list":["post-16534217","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16534217","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\/16534217\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16534217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}