Make WordPress Core

Ticket #53710: 53710.diff

File 53710.diff, 571 bytes (added by benjamingosset, 4 years ago)
  • src/wp-admin/update-core.php

    diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
    index a38e43c46f..4aaa0bf725 100644
    a b function list_core_update( $update ) { 
    4848                        // If the only available update is a partial builds, it doesn't need a language-specific version string.
    4949                        $version_string = $update->current;
    5050                }
     51        } elseif ( 'en_US' === $update->locale && 'en_US' !== get_locale() ) {
     52                $version_string = sprintf( '%s–%s', $update->current, $update->locale );
    5153        }
    5254
    5355        $current = false;