Changeset 52414
- Timestamp:
- 12/25/2021 03:15:16 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r52330 r52414 447 447 global $wp_customize; 448 448 449 // Don't show if a block theme is activated .450 if ( wp_is_block_theme() ) {449 // Don't show if a block theme is activated and no plugins use the customizer. 450 if ( wp_is_block_theme() && ! has_action( 'customize_register' ) ) { 451 451 return; 452 452 }
Note: See TracChangeset
for help on using the changeset viewer.