Making WordPress.org

Ticket #2604: 3mil.diff

File 3mil.diff, 755 bytes (added by gibrown, 8 years ago)

Patch to not apply decay to plugins with 1m plus installs.

  • wp-content/plugins/plugin-directory/libs/site-search/jetpack-search.php

     
    979979                                                                ),
    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(
    984991                                                                                'origin' => 1000000,