diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index c34ac06f24..80fbd530b2 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -42,7 +42,7 @@ function list_core_update( $update ) { if ( 'en_US' === $update->locale && 'en_US' === get_locale() ) { $version_string = $update->current; - } elseif ( 'en_US' === $update->locale && $update->packages->partial && $wp_version == $update->partial_version ) { + } elseif ( 'en_US' === $update->locale && $update->packages->partial && $wp_version === $update->partial_version ) { $updates = get_core_updates(); if ( $updates && 1 === count( $updates ) ) { // If the only available update is a partial builds, it doesn't need a language-specific version string. @@ -179,9 +179,9 @@ function list_core_update( $update ) { } echo '

'; - if ( 'en_US' !== $update->locale && ( ! isset( $wp_local_package ) || $wp_local_package != $update->locale ) ) { + if ( 'en_US' !== $update->locale && ( ! isset( $wp_local_package ) || $wp_local_package !== $update->locale ) ) { echo '

' . __( 'This localized version contains both the translation and various other localization fixes.' ) . '

'; - } elseif ( 'en_US' === $update->locale && 'en_US' !== get_locale() && ( ! $update->packages->partial && $wp_version == $update->partial_version ) ) { + } elseif ( 'en_US' === $update->locale && 'en_US' !== get_locale() && ( ! $update->packages->partial && $wp_version === $update->partial_version ) ) { // Partial builds don't need language-specific warnings. echo '

' . sprintf( /* translators: %s: WordPress version. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index dcfb1865cb..7dc9c6e006 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57528'; +$wp_version = '6.5-alpha-57529'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.