Make WordPress Core


Ignore:
Timestamp:
07/22/2014 08:46:22 PM (10 years ago)
Author:
ocean90
Message:

Media Grid: Add a date filter.

props ericlewis.
fixes #28895.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r29206 r29271  
    21572157    $query = array_intersect_key( $query, array_flip( array(
    21582158        's', 'order', 'orderby', 'posts_per_page', 'paged', 'post_mime_type',
    2159         'post_parent', 'post__in', 'post__not_in',
     2159        'post_parent', 'post__in', 'post__not_in', 'year', 'monthnum'
    21602160    ) ) );
    21612161
     
    27142714        $wp_scripts->done = array();
    27152715    }
    2716    
     2716
    27172717    if ( 'playlist' === $_REQUEST['type'] ) {
    27182718        wp_underscore_playlist_templates();
Note: See TracChangeset for help on using the changeset viewer.