Plugins breaks WP-JSON
-
I have the WP-JSON plugin enabled and there is a conflict between that and this plugin.
In particularly this plugin injects unwanted Javascript in to the page as follows:
<script> jQuery(document).ready(function(){ jQuery('#dd_b7df4841526e59684bb19fdfd4eb8549').on('change', function() { jQuery('#amount_b7df4841526e59684bb19fdfd4eb8549').val(this.value); }); }); </script> {"id":202,"date":"2017-01-24T11:30:59","date_gmt":"2017-01-24T11:30:59","guid":{"rendered":"http:\/\/www.yourapiexpert.com\/?p=202"},"modified":"2017-01-26T04:53:21","modified_gmt":"2017-01-26T04:53:21","slug":"how-to-design-a-good-.......This causes any JSON parser to fail due to the unwanted information. When I disable this Paypal plugin the JSON works and parses properly.
Please do let me know if there is any further information I can supply. I am on the latest WordPress and the latest version of this Paypal plugin.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Plugins breaks WP-JSON’ is closed to new replies.