diff --git src/wp-admin/includes/class-wp-posts-list-table.php src/wp-admin/includes/class-wp-posts-list-table.php
index 983a274..714a491 100644
|
|
class WP_Posts_List_Table extends WP_List_Table { |
459 | 459 | <div class="alignleft actions"> |
460 | 460 | <?php |
461 | 461 | if ( 'top' === $which && !is_singular() ) { |
| 462 | ob_start(); |
462 | 463 | |
463 | 464 | $this->months_dropdown( $this->screen->post_type ); |
464 | 465 | $this->categories_dropdown( $this->screen->post_type ); |
… |
… |
class WP_Posts_List_Table extends WP_List_Table { |
479 | 480 | */ |
480 | 481 | do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); |
481 | 482 | |
482 | | submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); |
| 483 | $output = ob_get_clean(); |
| 484 | |
| 485 | if ( ! empty( $output ) ) { |
| 486 | echo $output; |
| 487 | submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); |
| 488 | } |
483 | 489 | } |
484 | 490 | |
485 | 491 | if ( $this->is_trash && current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_others_posts ) ) { |
… |
… |
class WP_Posts_List_Table extends WP_List_Table { |
1552 | 1558 | <?php foreach ( $flat_taxonomies as $taxonomy ) : ?> |
1553 | 1559 | <?php if ( current_user_can( $taxonomy->cap->assign_terms ) ) : |
1554 | 1560 | $taxonomy_name = esc_attr( $taxonomy->name ); |
1555 | | |
| 1561 | |
1556 | 1562 | ?> |
1557 | 1563 | <label class="inline-edit-tags"> |
1558 | 1564 | <span class="title"><?php echo esc_html( $taxonomy->labels->name ) ?></span> |