WordPress.org

Making WordPress.org

Changeset 3591


Ignore:
Timestamp:
06/26/16 14:14:45 (18 months ago)
Author:
tellyworth
Message:

Plugin directory search: fix an off-by-one date range bug that was excluding some plugins from search results.

See #1692

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/site-search/jetpack-search.php

    r3573 r3591  
    264264            'order'          => $query->get( 'order' ), 
    265265            // plugin directory specific: 
    266             'date_range'     =>  array( 'field' => 'modified', 'gte' => $date_cutoff, 'lte' => $date_today ), 
     266            'date_range'     =>  array( 'field' => 'modified', 'gte' => $date_cutoff ), 
    267267            'tested_range'   =>  array( 'field' => 'meta.tested.value', 'gte' => $version_cutoff ), 
    268268            'filters'        => array( 
Note: See TracChangeset for help on using the changeset viewer.