Plugin Directory

Changeset 3457253


Ignore:
Timestamp:
02/09/2026 04:02:39 PM (7 weeks ago)
Author:
whiteshadow
Message:

Fix conflicts with "WooCommerce Product Options" and "WooCommerce Quantity Manager" where menu items that link to setup wizards would become visible when AME is active.

Another example of plugins registering an admin menu item and then removing it in "admin_head".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-menu-editor/trunk/includes/menu-editor-core.php

    r3453885 r3457253  
    395395            'admin.php?page=afrsm-pro-dashboard'         => true,
    396396            'admin.php?page=dots_store'                  => 'submenu',
     397            //WooCommerce Product Options 2.6.2
     398            'admin.php?page=woocommerce-product-options-setup-wizard'  => true,
     399            //WooCommerce Quantity Manager 2.4.3
     400            'admin.php?page=woocommerce-quantity-manager-setup-wizard' => true,
    397401        );
    398402
     
    33543358     * Display the header of the "Menu Editor" page.
    33553359     * This includes the page heading and tab list.
    3356      * 
     3360     *
    33573361     * @param array $extra_wrap_classes Additional CSS classes to add to the page wrapper.
    33583362     */
Note: See TracChangeset for help on using the changeset viewer.