{"id":11106580,"date":"2019-01-18T23:49:55","date_gmt":"2019-01-18T23:49:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/this-plugin-breaks-functionality\/"},"modified":"2019-01-18T23:58:57","modified_gmt":"2019-01-18T23:58:57","slug":"this-plugin-breaks-functionality","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/this-plugin-breaks-functionality\/","title":{"rendered":"This plugin breaks functionality?"},"content":{"rendered":"<p>I installed the plugin and put in a very basic filter:<\/p>\n<pre><code>\nfunction gangFound_cpt_filters() {\n    \/\/ globalize it so that we can call methods on the returned object\n    global $my_cpt_filters;\n\t\n\t$filter_posts = ();\n\t$filter_events = array_merge(  $filter_posts,\t\n\t\tarray(&#039;gf_event_date&#039; =&gt; array(\n\t\t  \t&#039;name&#039; =&gt; &#039;Event Start Date&#039;,\n\t\t\t&#039;meta&#039; =&gt; &#039;_EventStartDate&#039;,\n\t\t  \t&#039;cast&#039; =&gt; &#039;DATE&#039;\n\t\t )\n        ));\n\t$my_cpt_filters = tribe_setup_apm(&#039;tribe_events&#039;,  $filter_events );\n}\n<\/code><\/pre>\n<p>and now on the Edit Event page some javascript breaks. Editing anything, even types I&#8217;m not adding to tribe_setup_atm, eg a post, page, custom type, so much of the Javascript breaks. For example, clicking on &#8220;+Add New Category&#8221; does nothing. Trying to switch from Visual to Text in the editor does nothing.<\/p>\n<p>Disabling the call to tribe_setup_apm restores all the functionality.<\/p>\n<p>Is this a known issue and is it going to be fixed soon? I&#8217;d love to use this plugin.<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-11106580","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11106580","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":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11106580\/revisions"}],"predecessor-version":[{"id":11106594,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11106580\/revisions\/11106594"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11106580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}