diff --git src/wp-admin/update-core.php src/wp-admin/update-core.php
index c34ac06f24..80fbd530b2 100644
|
|
function list_core_update( $update ) { |
42 | 42 | |
43 | 43 | if ( 'en_US' === $update->locale && 'en_US' === get_locale() ) { |
44 | 44 | $version_string = $update->current; |
45 | | } elseif ( 'en_US' === $update->locale && $update->packages->partial && $wp_version == $update->partial_version ) { |
| 45 | } elseif ( 'en_US' === $update->locale && $update->packages->partial && $wp_version === $update->partial_version ) { |
46 | 46 | $updates = get_core_updates(); |
47 | 47 | if ( $updates && 1 === count( $updates ) ) { |
48 | 48 | // If the only available update is a partial builds, it doesn't need a language-specific version string. |
… |
… |
function list_core_update( $update ) { |
179 | 179 | } |
180 | 180 | echo '</p>'; |
181 | 181 | |
182 | | if ( 'en_US' !== $update->locale && ( ! isset( $wp_local_package ) || $wp_local_package != $update->locale ) ) { |
| 182 | if ( 'en_US' !== $update->locale && ( ! isset( $wp_local_package ) || $wp_local_package !== $update->locale ) ) { |
183 | 183 | echo '<p class="hint">' . __( 'This localized version contains both the translation and various other localization fixes.' ) . '</p>'; |
184 | | } elseif ( 'en_US' === $update->locale && 'en_US' !== get_locale() && ( ! $update->packages->partial && $wp_version == $update->partial_version ) ) { |
| 184 | } elseif ( 'en_US' === $update->locale && 'en_US' !== get_locale() && ( ! $update->packages->partial && $wp_version === $update->partial_version ) ) { |
185 | 185 | // Partial builds don't need language-specific warnings. |
186 | 186 | echo '<p class="hint">' . sprintf( |
187 | 187 | /* translators: %s: WordPress version. */ |