diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 4512036dbb..f25ca4bf9f 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -202,11 +202,11 @@ class WP_Posts_List_Table extends WP_List_Table { function extra_tablenav( $which ) { global $post_type, $post_type_object, $cat; - - if ( 'top' == $which && !is_singular() ) { ?>
months_dropdown( $post_type ); if ( is_object_in_taxonomy( $post_type, 'category' ) ) { @@ -222,14 +222,14 @@ class WP_Posts_List_Table extends WP_List_Table { } do_action( 'restrict_manage_posts' ); submit_button( __( 'Filter' ), 'secondary', 'post-query-submit', false ); -?> -
-is_trash && current_user_can( $post_type_object->cap->edit_others_posts ) ) { submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false ); } +?> + +