Making WordPress.org


Ignore:
Timestamp:
03/29/2017 10:19:49 PM (9 years ago)
Author:
tellyworth
Message:

Plugin directory search: fix ranking algorithm for plugins with 1m+ active installs. Props @gibrown.

Fixes #2604

File:
1 edited

Legend:

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

    r5177 r5199  
    980980                                                        ),
    981981                                                        array(
     982                                                                //there aren't that many plugins with more than 1 million (6 total)
     983                                                                // we don't need to differentiate them as much
     984                                                                'filter' => array(
     985                                                                        'range' => array( 'active_installs' => array(
     986                                                                                'lte' => 1000000
     987                                                                        ) )
     988                                                                ),
    982989                                                                'exp' => array(
    983990                                                                        'active_installs' => array(
Note: See TracChangeset for help on using the changeset viewer.