From 107d5b088ddf19d9c78e0f9bd560475798717e96 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 12 Jun 2015 17:01:24 +0000 Subject: [PATCH] `page_template` should be annotated as `@property`, not `@property-read` in `WP_Post`. The property is set on an instance in `wp_insert_post()` Props morganestes. Fixes #32515. Built from https://develop.svn.wordpress.org/trunk@32729 git-svn-id: http://core.svn.wordpress.org/trunk@32700 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 451e29f596..ac6ae9760a 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -459,8 +459,9 @@ function get_post( $post = null, $output = OBJECT, $filter = 'raw' ) { * * @since 3.5.0 * + * @property string $page_template + * * @property-read array $ancestors - * @property-read string $page_template * @property-read int $post_category * @property-read string $tag_input * diff --git a/wp-includes/version.php b/wp-includes/version.php index 16ac8b6bf3..f9f92668c4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32728'; +$wp_version = '4.3-alpha-32729'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.