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.
Merges [53704] to the 6.0 branch.
Fixes #56225.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@53705 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-07-15 16:00:25 +00:00
parent 33760e329c
commit 3a518382cb
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -3801,7 +3801,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(