{"id":16332524,"date":"2022-12-31T17:09:12","date_gmt":"2022-12-31T17:09:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=16332524"},"modified":"2022-12-31T17:39:10","modified_gmt":"2022-12-31T17:39:10","slug":"class_exists-returns-false-after-2-5-2-update","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/class_exists-returns-false-after-2-5-2-update\/","title":{"rendered":"class_exists returns false after 2.5.2 Update"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">After recent update to 2.5.2,  the php function class_exists()&#8221; when used in functions-php returns false for all defined pwb classes. Examined the git repo, but perhaps missed something.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An example class which was returning true before 2.5.2 but which is always false now is: class_exists(&#8216;\\Perfect_Woocommerce_Brands\\Shortcodes\\PWB_AZ_Listing_Shortcode&#8217;)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Can you point me in the right direction? Thank you.<\/p>\n","protected":false},"template":"","class_list":["post-16332524","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16332524","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16332524\/revisions"}],"predecessor-version":[{"id":16332548,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16332524\/revisions\/16332548"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16332524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}