• Resolved dr

    (@daniel_richard)


    Hi Support,

    Was “forced” to install MailPoet to complete the WC5.7 “WooCommerce Setup” steps.

    Noticed that the Admin Menu’s icons (for other plugins) suddenly disappeared (something from Mailpoet was overriding native WP’s admin menu behavior). Was wondering if there is any fix for this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bruna a11n

    (@bruberries)

    Hi @daniel_richard,

    Was “forced” to install MailPoet to complete the WC5.7 “WooCommerce Setup” steps.

    Noticed that the Admin Menu’s icons (for other plugins) suddenly disappeared (something from Mailpoet was overriding native WP’s admin menu behavior). Was wondering if there is any fix for this?

    MailPoet is recommended when installing the WooCommerce plugin, but not required in order to complete the setup.

    Can you please let us know if the problem affects the icons from the default WordPress admin menu or only for other 3rd-party plugins?

    If you’re referring to a few other 3rd-party plugins, that’s MailPoet no-conflict system preventing other scripts and styles from breaking our admin pages.

    We have two filters that can be used to whitelist scripts and styles, but you’ll need to find out the domain of your theme or plugin to allow them to work on MailPoet admin pages:

    For styles:

    add_filter(
    'mailpoet_conflict_resolver_whitelist_style', 
    function ($whitelistedStyles) {  
    $whitelistedStyles[] = 'modern-events-calendar-lite'; // please change the plugin name to whitelist  
    return $whitelistedStyles; 
    }
    )
    ; 

    For scripts:

    add_filter(
    'mailpoet_conflict_resolver_whitelist_script',
    function ($whitelistedScripts) {  
    $whitelistedScripts[] = 'modern-events-calendar-lite'; // please change the plugin name to whitelist 
    return $whitelistedScripts; 
    }
    )
    ;

    modern-events-calendar-lite is just an example. This one must be replaced by your plugin’s text domain, which you can add from the plugin’s php file.

    Thread Starter dr

    (@daniel_richard)

    Hi Bruna,

    Example:

    When viewing other dashboard settings:
    https://ibb.co/Ybch3kV

    When viewing MailPoet’s settings
    https://ibb.co/pxL3rtJ

    It just looks weird on the dashboard menu. ??

    Hi there @daniel_richard,

    Thanks for getting back to us with the screenshots!

    It does look weird indeed!

    I’m wondering if there is a conflict with another plugin or your theme here that would affect how the icons are displayed.

    Can you please check that by following these steps: https://kb.mailpoet.com/article/204-how-to-test-for-plugins-conflict?

    Cheers!

    Thread Starter dr

    (@daniel_richard)

    Hi Elvira,

    Sure. I’ll troubleshoot it from here on. As one of my latest tests on a fresh install (with minimal plugins) showed no error.

    Definitely has something to do with other plugins that are causing this issue.

    Marking this as resolved. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing Admin Menu Icons’ is closed to new replies.