diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 14a0e70fe0..8c8d8a0747 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -248,6 +248,12 @@ function core_update_footer( $msg = '' ) { $cur->response = ''; } + $is_development_version = preg_match( '/alpha|beta|RC/', $cur->version ); + + if ( $is_development_version && 'latest' === $cur->response ) { + $cur->response = 'development'; + } + switch ( $cur->response ) { case 'development': return sprintf( diff --git a/wp-includes/version.php b/wp-includes/version.php index 312510e339..f4e93627bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49705'; +$wp_version = '5.7-alpha-49708'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.