WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Meeses up Fast Secure Contact Form admin settings page

[Resolved] Meeses up Fast Secure Contact Form admin settings page

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Quttera

    @quttera

    Dear Mike,

    Thank you so much for pointing this out.

    We are currently working on the next WP plugin update and we will make sure to fix it in the next update. Please feel free to drop us a line or two on contactus@quttera.com for a suggestion on how we can improve our WP plugin.

    Thank you again,
    Quttera Team

    Plugin Author Quttera

    @quttera

    The issue has been fixed.

    Thank you for helping us to improve our scanner.

    Quttera Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Meeses up Fast Secure Contact Form admin settings page’ is closed to new replies.