Changeset 47850 for trunk/src/wp-includes/class-wp-customize-nav-menus.php
- Timestamp:
- 05/23/2020 03:22:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r47808 r47850 1357 1357 continue; 1358 1358 } 1359 if ( ! current_user_can( $post_type_obj->cap->publish_posts ) || ! current_user_can( $post_type_obj->cap->edit_post, $post_id ) ) {1359 if ( ! current_user_can( $post_type_obj->cap->publish_posts ) || ! current_user_can( 'edit_post', $post_id ) ) { 1360 1360 continue; 1361 1361 }
Note: See TracChangeset
for help on using the changeset viewer.