Ticket #38221: 38221.2.diff
File 38221.2.diff, 845 bytes (added by , 4 years ago) |
---|
-
src/wp-admin/includes/class-wp-media-list-table.php
181 181 182 182 /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */ 183 183 do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); 184 185 submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );186 184 } 187 185 186 submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 187 188 188 if ( $this->is_trash && current_user_can( 'edit_others_posts' ) && $this->has_items() ) { 189 189 submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); 190 190 }