Make WordPress Core

Ticket #38221: 38221.2.diff

File 38221.2.diff, 845 bytes (added by afercia, 4 years ago)
  • src/wp-admin/includes/class-wp-media-list-table.php

     
    181181
    182182                        /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */
    183183                        do_action( 'restrict_manage_posts', $this->screen->post_type, $which );
    184 
    185                         submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
    186184                }
    187185
     186                submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
     187
    188188                if ( $this->is_trash && current_user_can( 'edit_others_posts' ) && $this->has_items() ) {
    189189                        submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false );
    190190                }