[wp-trac] [WordPress Trac] #46540: Admin bar CSS shouldn't be added in the customizer
WordPress Trac
noreply at wordpress.org
Sat Mar 16 20:16:28 UTC 2019
#46540: Admin bar CSS shouldn't be added in the customizer
--------------------------+---------------------------------
Reporter: nabil_kadimi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 5.1
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by nabil_kadimi):
I'm using this workaround:
{{{#!php
add_action( 'customize_register', function() {
add_action( 'show_admin_bar', '__return_false' );
} );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46540#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list