Make WordPress Core

Changeset 14554


Ignore:
Timestamp:
05/10/2010 10:46:35 PM (15 years ago)
Author:
wpmuguru
Message:

allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r14374 r14554  
    150150    if ( $post->post_author && !in_array($post->post_author, $authors) )
    151151        $authors[] = $post->post_author;
    152     if ( $authors && count( $authors ) > 1 )
     152    if ( ( $authors && count( $authors ) > 1 ) || is_super_admin() )
    153153        add_meta_box('authordiv', __('Author'), 'post_author_meta_box', $post_type, 'normal', 'core');
    154154}
Note: See TracChangeset for help on using the changeset viewer.