Ticket #18645: 18645-3.diff
| File 18645-3.diff, 655 bytes (added by , 15 years ago) |
|---|
-
wp-admin/includes/meta-boxes.php
527 527 ?> 528 528 <label class="screen-reader-text" for="post_author_override"><?php _e('Author'); ?></label> 529 529 <?php 530 wp_dropdown_users(array(530 $args = array( 531 531 'who' => 'authors', 532 532 'name' => 'post_author_override', 533 533 'selected' => empty($post->ID) ? $user_ID : $post->post_author, 534 534 'include_selected' => true 535 ) ); 535 ); 536 $args = (array) apply_filters('post_author_meta_box', $args); 537 wp_dropdown_users( $args ); 536 538 } 537 539 538 540