Changeset 16573
- Timestamp:
- 11/24/2010 07:51:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-users-list-table.php
r16570 r16573 150 150 151 151 function get_columns() { 152 returnarray(152 $c = array( 153 153 'cb' => '<input type="checkbox" />', 154 154 'username' => __( 'Username' ), … … 158 158 'posts' => __( 'Posts' ) 159 159 ); 160 161 if ( $this->is_site_users ) 162 unset( $c['posts'] ); 163 164 return $c; 160 165 } 161 166 162 167 function get_sortable_columns() { 163 returnarray(168 $c = array( 164 169 'username' => 'login', 165 170 'name' => 'name', … … 167 172 'posts' => 'post_count', 168 173 ); 174 175 if ( $this->is_site_users ) 176 unset( $c['posts'] ); 177 178 return $c; 169 179 } 170 180
Note: See TracChangeset
for help on using the changeset viewer.