WordPress.org

Make WordPress Core

Ticket #44090: 44090-refreshed.diff

File 44090-refreshed.diff, 1.5 KB (added by subrataemfluence, 6 months ago)

Refreshed

  • .php

    diff --git a/update-core.php b/update-core-44090.php
    index a876d0e..b6e17e1 100755
    old new function list_plugin_updates() { 
    354354                // Get plugin compat for running version of WordPress.
    355355                if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $cur_wp_version, '>=' ) ) {
    356356                        /* translators: %s: WordPress version. */
    357                         $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %s: 100%% (according to its author)' ), $cur_wp_version );
     357                        $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %s: Compatible% (according to its author)' ), $cur_wp_version );
    358358                } else {
    359359                        /* translators: %s: WordPress version. */
    360360                        $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %s: Unknown' ), $cur_wp_version );
    function list_plugin_updates() { 
    363363                if ( $core_update_version ) {
    364364                        if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $core_update_version, '>=' ) ) {
    365365                                /* translators: %s: WordPress version. */
    366                                 $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %s: 100%% (according to its author)' ), $core_update_version );
     366                                $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %s: Compatible% (according to its author)' ), $core_update_version );
    367367                        } else {
    368368                                /* translators: %s: WordPress version. */
    369369                                $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %s: Unknown' ), $core_update_version );