Bug Report: Menu icon missing in WordPress 6.9
-
Environment: Multisite
Issue: The UAE admin menu icon is not displayed in the WordPress sidebar. The menu item appears as plain text “UAE” without any icon.
Root cause: In
classes/class-uael-admin.phpline 427, the plugin uses:wp_add_inline_style( 'wp-admin', $custom_css );In WordPress 6.9, the
wp-adminstyle handle was changed to a dependency-only handle (no source file). This meanswp_add_inline_style()attached to it never renders output.Reference:
wp-includes/script-loader.phpline 1630:$styles->add( 'wp-admin', false, array( 'dashicons', 'common', ... ) );Fix: Change the handle from
'wp-admin'to'common'(which has a real source file and is always loaded in admin):wp_add_inline_style( 'common', $custom_css );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.