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/class-wp-post-type.php

    r49494 r49496  
    272272     * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/
    273273     *
    274      * @since 5.6.0
     274     * @since 5.0.0
    275275     * @var array $template
    276276     */
     
    289289     * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/
    290290     *
    291      * @since 5.6.0
     291     * @since 5.0.0
    292292     * @var string|false $template_lock
    293293     */
Note: See TracChangeset for help on using the changeset viewer.