- This topic has 1 reply, 1 voice, and was last updated 9 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
› Forums › SNAP – WordPress Plugin Forums › Bug: Added undesired script to requests
Hi there, I use xmlrpc and json-api to manage my wordpress sites and with the last update of your plugin is adding a undesired piece of html code to every request I do to xmlrpc o json-api in my blog.
This is the code added:
[code]
<script type=”text/javascript” > jQuery(document).ready(function($) { jQuery.get(‘https://example.org/wp-cron.php?doing_wp_cron=0’); }); </script>
[/code]
Can you solve this bug in a next update?
This bug is still present (SNAP version: 3.4.31) – I encountered it using the ‘WP REST API’ plugin (version: 1.2.5) – where requests such as:
https://www.domain.com/wp-json/posts?filter[posts_per_page]=10&type[]=post
Return an invalid JSON result due to having the above mentioned wp-cron.php javascript appended to the end.
Notifications