Changeset 33147
- Timestamp:
- 07/09/2015 07:18:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r33130 r33147 327 327 */ 328 328 function wp_admin_bar_customize_menu( $wp_admin_bar ) { 329 // Don't show for users who can't access the customizer .330 if ( ! current_user_can( 'customize' ) ) {329 // Don't show for users who can't access the customizer or when in the admin. 330 if ( ! current_user_can( 'customize' ) || is_admin() ) { 331 331 return; 332 332 }
Note: See TracChangeset
for help on using the changeset viewer.