From 35c65333bd8277b8dbc94a1e56eee82b31de23e3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 15 Jul 2022 16:00:10 +0000 Subject: [PATCH] Docs: Correct `@since` tags introduced in WordPress 6.0.1. The associated changes were backported to the 6.0 branch, so the version should be 6.0.1 instead of 6.1.0. This affects: * `@since` tag for the `block-templates` feature in `create_initial_theme_features()`. * `@since` tag for the `show_on_front`, `page_on_front`, and `page_for_posts` options on the REST API settings endpoint. Follow-up to [53590], [53661]. Props tommusrhodus, johnbillion. Fixes #56225. Built from https://develop.svn.wordpress.org/trunk@53704 git-svn-id: http://core.svn.wordpress.org/trunk@53263 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/option.php | 2 +- wp-includes/theme.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/option.php b/wp-includes/option.php index eeb751c04c..40cae639e9 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -2063,7 +2063,7 @@ function set_site_transient( $transient, $value, $expiration = 0 ) { * does not encompass all settings available in WordPress. * * @since 4.7.0 - * @since 6.1.0 The `show_on_front`, `page_on_front`, and `page_for_posts` options were added. + * @since 6.0.1 The `show_on_front`, `page_on_front`, and `page_for_posts` options were added. */ function register_initial_settings() { register_setting( diff --git a/wp-includes/theme.php b/wp-includes/theme.php index c3d5003f75..b52fb3ef7f 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -3804,7 +3804,7 @@ function _wp_keep_alive_customize_changeset_dependent_auto_drafts( $new_status, * See {@see 'setup_theme'}. * * @since 5.5.0 - * @since 6.1.0 The `block-templates` feature was added. + * @since 6.0.1 The `block-templates` feature was added. */ function create_initial_theme_features() { register_theme_feature( diff --git a/wp-includes/version.php b/wp-includes/version.php index d7ad4b54b8..30866585f5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53703'; +$wp_version = '6.1-alpha-53704'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.