[Plugin: AG Custom Admin] Stop plugin from outputting version number
-
I read that it’s a bad idea for hackers to know which version of WordPress you’re running and so, as I was taking look in between my <head>, I noticed this script there:
<script type="text/javascript"> var wpversion = "3.4.1"; var agca_version = "1.2.6.4"; var jQueryScriptOutputted = false; var agca_context = "page"; function initJQuery() { //if the jQuery object isn't available if (typeof(jQuery) == 'undefined') { if (! jQueryScriptOutputted) { //only output the script once.. jQueryScriptOutputted = true; //output the script (load it from google api) document.write("<scr" + "ipt type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js\"></scr" + "ipt>"); } setTimeout("initJQuery()", 50); } else { jQuery(function() { try { jQuery('#wpadminbar').show(); if(isWPHigherOrEqualThan("3.3")){ } if(isWPHigherOrEqualThan("3.3")){ } jQuery("#wphead #header-logo").css("display","none"); jQuery("ul#wp-admin-bar-root-default li#wp-admin-bar-wp-logo").css("display","none"); }catch(ex){} }); } } initJQuery(); </script>
How do I resolve this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: AG Custom Admin] Stop plugin from outputting version number’ is closed to new replies.