WooCommerce Blacklist Conflist with post editor

[ad_1]

Please fix that soon //

Bug Report: Issue with “Featured Image” Media Gallery Button

Description:
When creating a new post and opening the media gallery, a “Menu” button is added to the right of the “Featured Image” title. This behavior is unexpected and disrupts the user experience.

Code Snippet:

<button type="button" class="button button-link media-frame-menu-toggle" aria-expanded="false">
    Menu
</button>
и 
<button type="button" class="button button-link media-frame-menu-toggle" aria-expanded="false">
    Menu <span class="dashicons dashicons-arrow-down" aria-hidden="true" aria-expanded="true"></span>
</button>

Investigation:
Upon investigation, the conflict appears to be caused by the following style applied to the button:

/* WooCommerce Blacklist Handler CSS */
.wp-core-ui .button, .wp-core-ui .button-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

Screenshots:
Screenshots 1 and 2 illustrate the addition of the button to the media library, showcasing the unintended behavior. The conflict arises from the plugin styles conflicting with the admin panel styles.

Additional Information:
Furthermore, clearing the cache (e.g., Object Cache or WP Rocket) triggers the message “Thank you for activating WooCommerce Blacklist Manager! Please go to Settings to configure the plugin.”

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer