WordPress.org

Make WordPress Core

Ticket #38772: class-wp-media-list-table.diff

File class-wp-media-list-table.diff, 629 bytes (added by wpsmith, 4 years ago)

Adds second param to action.

  • wp-admin/includes/class-wp-media-list-table.php

     
    172172                        }
    173173
    174174                        /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */
    175                         do_action( 'restrict_manage_posts', $this->screen->post_type );
     175                        do_action( 'restrict_manage_posts', $this->screen->post_type, $which );
    176176
    177177                        submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
    178178                }