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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50783 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-04-22 19:16:42 +00:00
parent f1466b8b73
commit 2464d69d8d

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 ) . '+';