mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user