Make WordPress Core


Ignore:
Timestamp:
04/22/2021 07:16:42 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

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

    r49181 r50783  
    690690                        number_format_i18n( $active_installs_millions )
    691691                    );
    692                 } elseif ( 0 == $api->active_installs ) {
     692                } elseif ( $api->active_installs < 10 ) {
    693693                    _ex( 'Less Than 10', 'Active plugin installations' );
    694694                } else {
Note: See TracChangeset for help on using the changeset viewer.