Changeset 12285 for trunk/wp-admin/includes/template.php
- Timestamp:
- 11/26/2009 11:41:37 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r12277 r12285 1061 1061 1062 1062 $authors = get_editable_user_ids( $current_user->id, true, $type ); // TODO: ROLE SYSTEM 1063 $authors_dropdown = ''; 1063 1064 if ( $authors && count( $authors ) > 1 ) : 1064 1065 $users_opt = array('include' => $authors, 'name' => 'post_author', 'class'=> 'authors', 'multi' => 1, 'echo' => 0); 1065 1066 if ( $bulk ) 1066 1067 $users_opt['show_option_none'] = __('- No Change -'); 1067 1068 $authors_dropdown = '<label>'; 1069 $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; 1070 $authors_dropdown .= wp_dropdown_users( $users_opt ); 1071 $authors_dropdown .= '</label>'; 1068 $authors_dropdown = '<label>'; 1069 $authors_dropdown .= '<span class="title">' . __( 'Author' ) . '</span>'; 1070 $authors_dropdown .= wp_dropdown_users( $users_opt ); 1071 $authors_dropdown .= '</label>'; 1072 1072 1073 1073 endif; // authors
Note: See TracChangeset
for help on using the changeset viewer.