Make WordPress Core

Changeset 53705


Ignore:
Timestamp:
07/15/2022 04:00:25 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/6.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0

  • branches/6.0/src/wp-includes/option.php

    r53590 r53705  
    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 */
    20682068function register_initial_settings() {
  • branches/6.0/src/wp-includes/theme.php

    r53661 r53705  
    38023802 *
    38033803 * @since 5.5.0
    3804  * @since 6.1.0 The `block-templates` feature was added.
     3804 * @since 6.0.1 The `block-templates` feature was added.
    38053805 */
    38063806function create_initial_theme_features() {
Note: See TracChangeset for help on using the changeset viewer.