Changeset 17088 for trunk/wp-admin/includes/class-wp-posts-list-table.php
- Timestamp:
- 12/20/2010 05:25:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-posts-list-table.php
r16992 r17088 758 758 </div> 759 759 <br class="clear" /> 760 761 760 <?php endif; // $bulk 762 761 … … 766 765 if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) : 767 766 $users_opt = array( 767 'hide_if_only_one_author' => true, 768 'who' => 'authors', 768 769 'name' => 'post_author', 769 770 'class'=> 'authors', … … 773 774 if ( $bulk ) 774 775 $users_opt['show_option_none'] = __( '— No Change —' ); 775 $authors_dropdown = '<label>'; 776 $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; 777 $authors_dropdown .= wp_dropdown_users( $users_opt ); 778 $authors_dropdown .= '</label>'; 776 777 if ( $authors = wp_dropdown_users( $users_opt ) ) : 778 $authors_dropdown = '<label>'; 779 $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; 780 $authors_dropdown .= $authors; 781 $authors_dropdown .= '</label>'; 782 endif; 779 783 endif; // authors 780 784 ?>
Note: See TracChangeset
for help on using the changeset viewer.