{"id":13267382,"date":"2020-08-17T10:14:08","date_gmt":"2020-08-17T10:14:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-not-working-with-ajax-comments\/"},"modified":"2020-08-17T10:14:08","modified_gmt":"2020-08-17T10:14:08","slug":"plugin-not-working-with-ajax-comments","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-not-working-with-ajax-comments\/","title":{"rendered":"Plugin not working with ajax comments"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m currently experiencing an issue with your plugin.<br \/>\nMy comment form is working with ajax in order not to refresh the page when the user is posting.<\/p>\n<p>The problem is that your plugin returns me &#8220;Wrong usage of print_flagging_link().&#8221; when I&#8217;m calling comment_reply_link.<\/p>\n<p>As a workaround I saw in your code I could use this to manually call the report link :<\/p>\n<pre><code>define(&#039;no_autostart_safe_report_comments&#039;, true);\n$zeno_report_comments = new Zeno_Report_Comments(false);<\/code><\/pre>\n<p>But unfortunately, this isn&#8217;t working.<\/p>\n<p>Do you have any solution ?<\/p>\n","protected":false},"template":"","class_list":["post-13267382","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13267382","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\/13267382\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13267382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}