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.


git-svn-id: https://develop.svn.wordpress.org/trunk@32729 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-06-12 17:00:59 +00:00
parent c7c55f20b5
commit 40c54bc238

View File

@ -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
*