Changeset 20491
- Timestamp:
- 04/17/2012 03:41:07 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r20325 r20491 1625 1625 1626 1626 if ( '' != $qv['pagename'] ) { 1627 $this->queried_object = &get_page_by_path($qv['pagename']);1627 $this->queried_object = get_page_by_path($qv['pagename']); 1628 1628 if ( !empty($this->queried_object) ) 1629 1629 $this->queried_object_id = (int) $this->queried_object->ID; … … 2978 2978 } elseif ( $this->is_posts_page ) { 2979 2979 $page_for_posts = get_option('page_for_posts'); 2980 $this->queried_object = &get_page( $page_for_posts );2980 $this->queried_object = get_page( $page_for_posts ); 2981 2981 $this->queried_object_id = (int) $this->queried_object->ID; 2982 2982 } elseif ( $this->is_singular && !is_null($this->post) ) {
Note: See TracChangeset
for help on using the changeset viewer.