Ticket #38772: 38772.diff
File 38772.diff, 1.3 KB (added by , 8 years ago) |
---|
-
wp-admin/includes/class-wp-media-list-table.php
172 172 } 173 173 174 174 /** 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 ); 176 176 177 177 submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 178 178 } -
wp-admin/includes/class-wp-posts-list-table.php
476 476 * 477 477 * @param string $post_type The post type slug. 478 478 * @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. 480 481 */ 481 482 do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); 482 483