{"id":11953842,"date":"2019-09-20T18:36:54","date_gmt":"2019-09-20T18:36:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/strange-implementation\/"},"modified":"2019-09-20T18:36:54","modified_gmt":"2019-09-20T18:36:54","slug":"strange-implementation","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/strange-implementation\/","title":{"rendered":"Strange implementation"},"content":{"rendered":"<p>Hi,<\/p>\n<p>why do you hook the the wpml comments clauses function in that strange way?<\/p>\n<p>Just deactivate the filter&#8230;<\/p>\n<p>global $sitepress;<br \/>\nremove_filter( &#8216;comments_clauses&#8217;, array( $sitepress, &#8216;comments_clauses&#8217; ), 10, 2 );<\/p>\n<p>Best,<\/p>\n<p>Marko<\/p>\n","protected":false},"template":"","class_list":["post-11953842","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11953842","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\/11953842\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11953842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}