Changeset 29690
- Timestamp:
- 09/03/2014 06:46:34 AM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/forms.css
r29604 r29690 375 375 .tablenav #changeit, 376 376 .tablenav #delete_all, 377 .tablenav #clear-recent-list { 377 .tablenav #clear-recent-list, 378 .wp-filter #delete_all { 378 379 margin-top: 1px; 379 380 } -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r29659 r29690 38 38 list( $post_mime_types, $avail_post_mime_types ) = wp_edit_attachments_query( $_REQUEST ); 39 39 40 $this->is_trash = isset( $_REQUEST[' status'] ) && 'trash' == $_REQUEST['status'];40 $this->is_trash = isset( $_REQUEST['attachment-filter'] ) && 'trash' == $_REQUEST['attachment-filter']; 41 41 42 42 $mode = empty( $_REQUEST['mode'] ) ? 'list' : $_REQUEST['mode']; … … 64 64 $type_links['all'] = "<option value=''$selected>" . sprintf( _nx( 'All (%s)', 'All (%s)', $_total_posts, 'uploaded files' ), number_format_i18n( $_total_posts ) ) . '</option>'; 65 65 foreach ( $post_mime_types as $mime_type => $label ) { 66 $class = '';67 68 66 if ( !wp_match_mime_types($mime_type, $avail_post_mime_types) ) 69 67 continue; … … 99 97 <div class="actions"> 100 98 <?php 101 if ( ! is_singular() && ! $this->is_trash ) { 102 $this->months_dropdown( 'attachment' ); 99 if ( ! is_singular() ) { 100 if ( ! $this->is_trash ) { 101 $this->months_dropdown( 'attachment' ); 102 } 103 103 104 104 /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */
Note: See TracChangeset
for help on using the changeset viewer.