Changeset 17195 for trunk/wp-admin/includes/class-wp-posts-list-table.php
- Timestamp:
- 12/31/2010 11:56:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-posts-list-table.php
r17160 r17195 203 203 function extra_tablenav( $which ) { 204 204 global $post_type, $post_type_object, $cat; 205 206 if ( 'top' == $which && !is_singular() ) {207 205 ?> 208 206 <div class="alignleft actions"> 209 207 <?php 208 if ( 'top' == $which && !is_singular() ) { 209 210 210 $this->months_dropdown( $post_type ); 211 211 … … 223 223 do_action( 'restrict_manage_posts' ); 224 224 submit_button( __( 'Filter' ), 'secondary', 'post-query-submit', false ); 225 } 226 227 if ( $this->is_trash && current_user_can( $post_type_object->cap->edit_others_posts ) ) { 228 submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false ); 229 } 225 230 ?> 226 231 </div> 227 232 <?php 228 }229 230 if ( $this->is_trash && current_user_can( $post_type_object->cap->edit_others_posts ) ) {231 submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false );232 }233 233 } 234 234
Note: See TracChangeset
for help on using the changeset viewer.