samedi 28 février 2015

Garbled Code added to Email Field of 'Quick Edit' comment screen


when I edit a comment normally the email just contains the email like it should, but when I use 'quick edit comment' then there's code added in the email field after the email. This code to be specific:



/* <![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript:function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t&&t.previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]]> */


When I then save the comment using the 'quick edit' menu it's saved like this:


abc@gmail.comCDATAfunctiontryvartcurrentScriptindocumentdocument.currentScriptfunctionforvar


Which is unwanted behavior of course...


I tried disabling all my plugins and removing all custom code from function.php but the problem still persists...


Anyone have an idea what could be causing this?





Aucun commentaire:

Enregistrer un commentaire