Make WordPress Core

Changeset 61410


Ignore:
Timestamp:
12/26/2025 01:05:01 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Plugins: Update plugin compatibility text to remove obsolete percentage-based number.

Follow-up to [12157], [12407], [42631].

Props danieltj, bridgetwillard, davidbaumwald, subrataemfluence, garrett-eclipse, SergeyBiryukov.
Fixes #44090.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r61408 r61410  
    527527        if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $cur_wp_version, '>=' ) ) {
    528528            /* translators: %s: WordPress version. */
    529             $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %s: 100%% (according to its author)' ), $cur_wp_version );
     529            $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %s: Yes (according to its author)' ), $cur_wp_version );
    530530        } else {
    531531            /* translators: %s: WordPress version. */
    532             $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %s: Unknown' ), $cur_wp_version );
     532            $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %s: Not tested' ), $cur_wp_version );
    533533        }
    534534        // Get plugin compat for updated version of WordPress.
     
    536536            if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $core_update_version, '>=' ) ) {
    537537                /* translators: %s: WordPress version. */
    538                 $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %s: 100%% (according to its author)' ), $core_update_version );
     538                $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %s: Yes (according to its author)' ), $core_update_version );
    539539            } else {
    540540                /* translators: %s: WordPress version. */
    541                 $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %s: Unknown' ), $core_update_version );
     541                $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %s: Not tested' ), $core_update_version );
    542542            }
    543543        }
Note: See TracChangeset for help on using the changeset viewer.