{"id":3299151,"date":"2012-12-21T20:43:37","date_gmt":"2012-12-21T20:43:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/code-spill\/"},"modified":"2016-08-20T19:25:18","modified_gmt":"2016-08-20T19:25:18","slug":"code-spill","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/code-spill\/","title":{"rendered":"Code Spill"},"content":{"rendered":"<p>Thanks for providing some great tools, Amit Agarwal, &#8211; I&#8217;m a big fan.<br \/>\nI used your image sitemaps plugin and noticed what looks like code spilling into the sitemaps-image.xml file of one of my sites:<br \/>\nhttp:\/\/lizzalittlewort.co.za\/sitemap-image.xml<\/p>\n<p>Is this normal \/ ok or some possibly due to one of my cache plugins (WP Super Cache and Total Cache), or maybe a tag I left open somewhere?<\/p>\n<p>Here&#8217;s the extra code:<\/p>\n<p><code>const zsFV6LxWK8fuMpOkQj=30;var JF5mCCC8HB9hpAznGM=0;window.open = function () { if(JF5mCCC8HB9hpAznGM &lt; zsFV6LxWK8fuMpOkQj) {JF5mCCC8HB9hpAznGM++;if (!arguments || arguments.length == 0) return zuqIs4LM_CXRYzAa(); else if (arguments.length == 1) return zuqIs4LM_CXRYzAa(arguments[0]); else if (arguments.length == 2) return zuqIs4LM_CXRYzAa(arguments[0], arguments[1]);else if (arguments.length == 3) return zuqIs4LM_CXRYzAa(arguments[0], arguments[1], arguments[2]);else if (arguments.length == 4) return zuqIs4LM_CXRYzAa(arguments[0], arguments[1], arguments[2], arguments[3]);} return true; };window.showModelessDialog = function () { if(JF5mCCC8HB9hpAznGM &lt; zsFV6LxWK8fuMpOkQj) {JF5mCCC8HB9hpAznGM++; if (arguments.length == 1) return dekOy3pOSqXUq7OMBBSwSp(arguments[0]); else if (arguments.length == 2) return dekOy3pOSqXUq7OMBBSwSp(arguments[0], arguments[1]); else if (arguments.length == 3) return dekOy3pOSqXUq7OMBBSwSp(arguments[0], arguments[1], arguments[2]);} return true; };window.showModalDialog = function () { if(JF5mCCC8HB9hpAznGM &lt; zsFV6LxWK8fuMpOkQj) {JF5mCCC8HB9hpAznGM++; if (arguments.length == 1) return tREPJd1ClUMFASMecc(arguments[0]); else if (arguments.length == 2) return tREPJd1ClUMFASMecc(arguments[0], arguments[1]); else if (arguments.length == 3) return tREPJd1ClUMFASMecc(arguments[0], arguments[1], arguments[2]);} return true; };const T8TUa1_jUNFPnldS28UsNZ6URB=30;var kTpKGQuQKB45zYd4L4F=0;window.prompt = function (promptText) { if(kTpKGQuQKB45zYd4L4F &lt; T8TUa1_jUNFPnldS28UsNZ6URB) {kTpKGQuQKB45zYd4L4F++; return KipM78ToGVctRabvI1hUzQDn(promptText);} return null;};window.confirm = function (confirmText) { if(kTpKGQuQKB45zYd4L4F &lt; T8TUa1_jUNFPnldS28UsNZ6URB) {kTpKGQuQKB45zYd4L4F++; return XAvos2H2zMSMBtchLwibcmy(confirmText);} return null;};window.alert = function (alertText) { if(kTpKGQuQKB45zYd4L4F &lt; T8TUa1_jUNFPnldS28UsNZ6URB) {kTpKGQuQKB45zYd4L4F++; iD7mt_vHSHBdQjgNY8xT3lBX8(alertText);} return true;};window.moveTo=N3CTJ5H5M7MYp2Fe7qYeQ;window.moveBy=Obd082rdZX5CK7icmoPkzCxOAf;window.resizeTo=NJGvDCXNeIVjuxnqWR4Ulo6;window.resizeBy=nH9vAdq9oGi4cENm;window.scrollBy=yF2kbLQhXYDuzXMvQcmwJhT;window.scrollTo=q9rvjtq0FK7CoH1hzc2mkAo6;window.blur=djpYiG1XMAaF5hTLEqIJHK2l;window.focus=Zt746Djt0_OHxwWyMEg9TpOL;document.getSelection=xf8TBU_Aykhgg06V7Y83v;window.getSelection=KRF4BUrvavhH473PgkW8TYNC;window.onunload=zJavIoVIqA9BYSLzhwix5;const C9bDv8SOWy_5ABJ02ecuDcGo=30;var CocCZMm0CyE2w_TKnlcv=0;window.print = function () { if(CocCZMm0CyE2w_TKnlcv &lt; C9bDv8SOWy_5ABJ02ecuDcGo) {CocCZMm0CyE2w_TKnlcv++; yxukGKBfK_ggURI5Kkm();} };(function(){var ourScript=document.getElementsByTagName(&#039;script&#039;);for(var i=0; i &lt; ourScript.length; i++){if(ourScript[i].id &amp;&amp; ourScript[i].id === &#039;Jm4C6mg8ptndQcSpWy6sOCbo59&#039;) {ourScript[i].parentNode.removeChild(ourScript[i]); break;}}})();<\/code><\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/google-image-sitemap\/<\/p>\n","protected":false},"template":"","class_list":["post-3299151","topic","type-topic","status-closed","hentry","topic-tag-code","topic-tag-php","topic-tag-sitemap","topic-tag-xml"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3299151","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3299151\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3299151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}