• Resolved Mike Challis

    (@mikechallis)


    Your plugin puts its own CSS on every page in thr WP admin. You should not do that because you will mess up style on other plugins admin pages.

    Here is the issue. The Quttera Web Malware Scanner plugin loads its own CSS on every page in the WP admin, it should only load it is own css on its own admin pages.

    Here is how to fix your plugin.
    edit quttera_wm_scanner.php

    change:

    function quttera_style() {
    
    echo '<link rel="stylesheet" href="'.QUTTERA_URL.'quttera_css.css" type="text/css" media="all" />';
    
    }

    to:

    function quttera_style() {
      if(isset($_GET['page']) && is_string($_GET['page']) && preg_match('/^quttera_wm_scanner$/',$_GET['page']) ) {
        echo '<link rel="stylesheet" href="'.QUTTERA_URL.'quttera_css.css" type="text/css" media="all" />';
      }
    }

    http://wordpress.org/plugins/quttera-web-malware-scanner/

  • The topic ‘Meeses up Fast Secure Contact Form admin settings page’ is closed to new replies.