mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
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:
parent
2d7eb07747
commit
8ef335a566
@ -689,7 +689,7 @@ function install_plugin_information() {
|
|||||||
_nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),
|
_nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),
|
||||||
number_format_i18n( $active_installs_millions )
|
number_format_i18n( $active_installs_millions )
|
||||||
);
|
);
|
||||||
} elseif ( 0 == $api->active_installs ) {
|
} elseif ( $api->active_installs < 10 ) {
|
||||||
_ex( 'Less Than 10', 'Active plugin installations' );
|
_ex( 'Less Than 10', 'Active plugin installations' );
|
||||||
} else {
|
} else {
|
||||||
echo number_format_i18n( $api->active_installs ) . '+';
|
echo number_format_i18n( $api->active_installs ) . '+';
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user