Changeset 48211 for trunk/src/wp-includes/admin-bar.php
- Timestamp:
- 06/29/2020 10:31:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r48109 r48211 426 426 427 427 // Don't show if the user cannot edit a given customize_changeset post currently being previewed. 428 if ( is_customize_preview() && $wp_customize->changeset_post_id() && ! current_user_can( get_post_type_object( 'customize_changeset' )->cap->edit_post, $wp_customize->changeset_post_id() ) ) { 428 if ( is_customize_preview() && $wp_customize->changeset_post_id() 429 && ! current_user_can( get_post_type_object( 'customize_changeset' )->cap->edit_post, $wp_customize->changeset_post_id() ) 430 ) { 429 431 return; 430 432 }
Note: See TracChangeset
for help on using the changeset viewer.