Coding Standards: Remove loose comparison in `wp-admin/includes/plugin-install.php`.

This more closely represents how the active installations count is displayed in the Plugin Directory.

See #52627.
Built from https://develop.svn.wordpress.org/trunk@50783


git-svn-id: http://core.svn.wordpress.org/trunk@50392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-04-22 19:18:05 +00:00
parent 2d7eb07747
commit 8ef335a566
2 changed files with 2 additions and 2 deletions

View File

@ -689,7 +689,7 @@ function install_plugin_information() {
_nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),
number_format_i18n( $active_installs_millions )
);
} elseif ( 0 == $api->active_installs ) {
} elseif ( $api->active_installs < 10 ) {
_ex( 'Less Than 10', 'Active plugin installations' );
} else {
echo number_format_i18n( $api->active_installs ) . '+';

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-50782';
$wp_version = '5.8-alpha-50783';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.