Changeset 39539 for trunk/src/wp-admin/edit-form-advanced.php
- Timestamp:
- 12/07/2016 10:08:52 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/edit-form-advanced.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r39326 r39539 309 309 add_meta_box('slugdiv', __('Slug'), 'post_slug_meta_box', null, 'normal', 'core'); 310 310 311 if ( post_type_supports($post_type, 'author') ) { 312 if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) 313 add_meta_box('authordiv', __('Author'), 'post_author_meta_box', null, 'normal', 'core'); 311 if ( post_type_supports( $post_type, 'author' ) && current_user_can( $post_type_object->cap->edit_others_posts ) ) { 312 add_meta_box( 'authordiv', __( 'Author' ), 'post_author_meta_box', null, 'normal', 'core' ); 314 313 } 315 314
Note: See TracChangeset
for help on using the changeset viewer.