Support » Plugin: AG Custom Admin » [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 = "";
    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=\"\"></scr&quot; + "ipt>");
    	setTimeout("initJQuery()", 50);
    } else {
    	jQuery(function() {
    			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");

    How do I resolve this?

Viewing 1 replies (of 1 total)
  • Plugin Author WAP Support



    This is required for the AGCA plugin to work properly, because it should support different WordPress versions. I would say that this is not something to be concern about. There are many other traces that WordPress leaves about the WP version, like in head:

    <meta name=”generator” content=”WordPress 3.4.1″ /> or in resources like CSS and JS

    but even without it, it wouldn’t be difficult to guess which WP version is there.

    If you still have any concerns about it, please don’t use it.


Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: AG Custom Admin] Stop plugin from outputting version number’ is closed to new replies.