Make WordPress Core

Changeset 53704 for trunk


Ignore:
Timestamp:
07/15/2022 03:58:35 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.
Fixes #56225.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/option.php

    r53589 r53704  
    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() {
  • trunk/src/wp-includes/theme.php

    r53659 r53704  
    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 */
    38093809function create_initial_theme_features() {
Note: See TracChangeset for help on using the changeset viewer.