diff --git a/src/wp-includes/class-wp-post-type.php b/src/wp-includes/class-wp-post-type.php index 38a47bc677..8b8e427e02 100644 --- a/src/wp-includes/class-wp-post-type.php +++ b/src/wp-includes/class-wp-post-type.php @@ -271,7 +271,7 @@ final class WP_Post_Type { * * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/ * - * @since 5.6.0 + * @since 5.0.0 * @var array $template */ public $template = array(); @@ -288,7 +288,7 @@ final class WP_Post_Type { * * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/ * - * @since 5.6.0 + * @since 5.0.0 * @var string|false $template_lock */ public $template_lock = false; diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index a51a75d5d8..c1a829de91 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -1294,8 +1294,8 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' ) * @since 4.6.0 Post type object returned is now an instance of `WP_Post_Type`. * @since 4.7.0 Introduced `show_in_rest`, `rest_base` and `rest_controller_class` * arguments to register the post type in REST API. + * @since 5.0.0 The `template` and `template_lock` arguments were added. * @since 5.3.0 The `supports` argument will now accept an array of arguments for a feature. - * @since 5.6.0 The `template` and `template_lock` arguments were added. * * @global array $wp_post_types List of post types. *