diff --git a/wp-admin/site-editor.php b/wp-admin/site-editor.php index 9fac7e62c7..86f140cde3 100644 --- a/wp-admin/site-editor.php +++ b/wp-admin/site-editor.php @@ -29,6 +29,9 @@ if ( ! wp_is_block_theme() ) { */ $home_template = _resolve_home_block_template(); if ( $home_template && empty( $_GET['postType'] ) && empty( $_GET['postId'] ) ) { + if ( ! empty( $_GET['styles'] ) ) { + $home_template['styles'] = sanitize_key( $_GET['styles'] ); + } $redirect_url = add_query_arg( $home_template, admin_url( 'site-editor.php' ) diff --git a/wp-includes/version.php b/wp-includes/version.php index edf9c5f117..cc61011491 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53411'; +$wp_version = '6.1-alpha-53413'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.