Changeset 48240
- Timestamp:
- 06/30/2020 08:33:32 PM (4 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r48102 r48240 175 175 <div class="actions"> 176 176 <?php 177 if ( ! is_singular() ) { 178 if ( ! $this->is_trash ) { 179 $this->months_dropdown( 'attachment' ); 180 } 181 182 /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */ 183 do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); 184 185 submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 186 } 177 if ( ! $this->is_trash ) { 178 $this->months_dropdown( 'attachment' ); 179 } 180 181 /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */ 182 do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); 183 184 submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 187 185 188 186 if ( $this->is_trash && current_user_can( 'edit_others_posts' ) && $this->has_items() ) { -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r48203 r48240 535 535 <div class="alignleft actions"> 536 536 <?php 537 if ( 'top' === $which && ! is_singular()) {537 if ( 'top' === $which ) { 538 538 ob_start(); 539 539
Note: See TracChangeset
for help on using the changeset viewer.