Make WordPress Core


Ignore:
Timestamp:
10/05/2016 03:32:41 AM (10 years ago)
Author:
dd32
Message:

Plugins: Display 'Less Than 10' active installs of a plugin rather than '0+' active installs.

Props ovann86.
Fixes #37509.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r38705 r38729  
    563563                                        if ( $plugin['active_installs'] >= 1000000 ) {
    564564                                                $active_installs_text = _x( '1+ Million', 'Active plugin installs' );
     565                                        } elseif ( 0 == $plugin['active_installs'] ) {
     566                                                $active_installs_text = _x( 'Less Than 10', 'Active plugin installs' );
    565567                                        } else {
    566568                                                $active_installs_text = number_format_i18n( $plugin['active_installs'] ) . '+';
Note: See TracChangeset for help on using the changeset viewer.