WordPress.org

Make WordPress Core

Changeset 32729


Ignore:
Timestamp:
06/12/2015 05:00:59 PM (6 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r32673 r32729  
    460460 * @since 3.5.0
    461461 *
     462 * @property string $page_template
     463 *
    462464 * @property-read array  $ancestors
    463  * @property-read string $page_template
    464465 * @property-read int    $post_category
    465466 * @property-read string $tag_input
Note: See TracChangeset for help on using the changeset viewer.