WordPress.org

Make WordPress Core

Changeset 21654


Ignore:
Timestamp:
08/29/2012 01:23:54 PM (8 years ago)
Author:
ryan
Message:

Lose return ref from WP_Post::get(). see #21309

File:
1 edited

Legend:

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

    r21651 r21654  
    488488    }
    489489
    490     public function &__get( $key ) {
     490    public function __get( $key ) {
    491491        if ( 'page_template' == $key && $this->__isset( $key ) ) {
    492492            $_ref = get_post_meta( $this->ID, '_wp_page_template', true );
Note: See TracChangeset for help on using the changeset viewer.