WordPress.org

Make WordPress Core

Ticket #44090: 44090.diff

File 44090.diff, 1.4 KB (added by subrataemfluence, 18 months ago)

Proposed patch

  • update-core.php

    diff --git a/update-core.php /src/wp-admin/update-core.php
    index dff5b84..61527bf 100755
    old new foreach ( (array) $plugins as $plugin_file => $plugin_data ) { 
    275275
    276276        // Get plugin compat for running version of WordPress.
    277277        if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $cur_wp_version, '>=' ) ) {
    278                 $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: Compatible (according to its author)' ), $cur_wp_version );
     278                $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: 100%% (according to its author)' ), $cur_wp_version );
    279279        } else {
    280280                $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: Unknown' ), $cur_wp_version );
    281281        }
    282282        // Get plugin compat for updated version of WordPress.
    283283        if ( $core_update_version ) {
    284284                if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $core_update_version, '>=' ) ) {
    285                         $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: Compatible (according to its author)' ), $core_update_version );
     285                        $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: 100%% (according to its author)' ), $core_update_version );
    286286                } else {
    287287                        $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: Unknown' ), $core_update_version );
    288288                }