From 8ef335a566cbf862263c4c6efd4e130ea976b477 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 22 Apr 2021 19:18:05 +0000 Subject: [PATCH] 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 --- wp-admin/includes/plugin-install.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 1e6f2b075b..f7b65197bc 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -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 ) . '+'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 3fe46f7228..3b37977846 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.