JavaScript in JSON responses
-
Hi,
your plugin is inserting a JavaScript code also to JSON responses from WordPress, which is corrupting them – this is happening, for example, when editing a page and is resulting in error “The response is not a valid JSON response.” after saving changes. WordPress version 5.4.1.
As a fix, i suggest to exclude responses with content type application/json from inserting a JavaScript.
- The topic ‘JavaScript in JSON responses’ is closed to new replies.