Changeset 19385
- Timestamp:
- 11/21/2011 08:48:57 PM (13 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-media-list-table.php
r19252 r19385 85 85 86 86 function extra_tablenav( $which ) { 87 global $post_type;88 $post_type_obj = get_post_type_object( $post_type );89 87 ?> 90 88 <div class="alignleft actions"> 91 89 <?php 92 90 if ( 'top' == $which && !is_singular() && !$this->detached && !$this->is_trash ) { 93 $this->months_dropdown( $post_type);91 $this->months_dropdown( 'attachment' ); 94 92 95 93 do_action( 'restrict_manage_posts' ); -
trunk/wp-admin/includes/screen.php
r19361 r19385 490 490 $taxonomy = 'post_tag'; 491 491 $id = 'edit-' . $taxonomy; 492 break; 493 case 'upload' : 494 if ( null === $post_type ) 495 $post_type = 'attachment'; 492 496 break; 493 497 }
Note: See TracChangeset
for help on using the changeset viewer.