WordPress.org

Ready to get started?Download WordPress

Forums

Quttera Web Malware Scanner
[resolved] Meeses up Fast Secure Contact Form admin settings page (3 posts)

  1. Mike Challis
    Member
    Posted 10 months ago #

    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/

  2. Quttera
    Member
    Plugin Author

    Posted 9 months ago #

    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

  3. Quttera
    Member
    Plugin Author

    Posted 4 months ago #

    The issue has been fixed.

    Thank you for helping us to improve our scanner.

    Quttera Team

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.