`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
This commit is contained in:
parent
05682bdaa8
commit
107d5b088d
wp-includes
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue