Make WordPress Core


Ignore:
Timestamp:
11/04/2020 02:45:26 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Change the @since entry for template and template_lock post type arguments to 5.0.0.

These arguments were introduced with the initial block editor, but not documented previously.

Follow-up to [49495].

Props TimothyBlynJacobs.
See #46261.

File:
1 edited

Legend:

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

    r49495 r49496  
    12951295 * @since 4.7.0 Introduced `show_in_rest`, `rest_base` and `rest_controller_class`
    12961296 *              arguments to register the post type in REST API.
     1297 * @since 5.0.0 The `template` and `template_lock` arguments were added.
    12971298 * @since 5.3.0 The `supports` argument will now accept an array of arguments for a feature.
    1298  * @since 5.6.0 The `template` and `template_lock` arguments were added.
    12991299 *
    13001300 * @global array $wp_post_types List of post types.
Note: See TracChangeset for help on using the changeset viewer.