Skip to content

Commit 3fa0773

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@53704 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c5c6ee3 commit 3fa0773

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wp-includes/option.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,7 @@ function set_site_transient( $transient, $value, $expiration = 0 ) {
20632063
* does not encompass all settings available in WordPress.
20642064
*
20652065
* @since 4.7.0
2066-
* @since 6.1.0 The `show_on_front`, `page_on_front`, and `page_for_posts` options were added.
2066+
* @since 6.0.1 The `show_on_front`, `page_on_front`, and `page_for_posts` options were added.
20672067
*/
20682068
function register_initial_settings() {
20692069
register_setting(

src/wp-includes/theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3804,7 +3804,7 @@ function _wp_keep_alive_customize_changeset_dependent_auto_drafts( $new_status,
38043804
* See {@see 'setup_theme'}.
38053805
*
38063806
* @since 5.5.0
3807-
* @since 6.1.0 The `block-templates` feature was added.
3807+
* @since 6.0.1 The `block-templates` feature was added.
38083808
*/
38093809
function create_initial_theme_features() {
38103810
register_theme_feature(

0 commit comments

Comments
 (0)