Make WordPress Core


Ignore:
Timestamp:
01/17/2017 02:37:14 AM (8 years ago)
Author:
SergeyBiryukov
Message:

List Tables: Pass the $which parameter to restrict_manage_posts filter instance in WP_Media_List_Table, missed in [37422].

Props wpsmith.
Fixes #38772.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r39539 r39917  
    477477             * @param string $post_type The post type slug.
    478478             * @param string $which     The location of the extra table nav markup:
    479              *                          'top' or 'bottom'.
     479             *                          'top' or 'bottom' for WP_Posts_List_Table,
     480             *                          'bar' for WP_Media_List_Table.
    480481             */
    481482            do_action( 'restrict_manage_posts', $this->screen->post_type, $which );
Note: See TracChangeset for help on using the changeset viewer.