Making WordPress.org

Changeset 4999


Ignore:
Timestamp:
02/24/2017 04:52:04 PM (8 years ago)
Author:
coffee2code
Message:

Plugin Directory: Raise 1M+ active install count threshold to 3M.

See [12933-dotorg].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-internal-stats.php

    r4622 r4999  
    7878     */
    7979    protected function sanitize_active_installs( $active_installs ) {
    80         if ( $active_installs > 1000000 ) {
    81             // 1 million +;
    82             return 1000000;
     80        if ( $active_installs > 3000000 ) {
     81            // 3 million +;
     82            return 3000000;
     83        } elseif ( $active_installs > 1000000 ) {
     84            $round = 1000000;
    8385        } elseif ( $active_installs > 100000 ) {
    8486            $round = 100000;
Note: See TracChangeset for help on using the changeset viewer.