Changeset 15471 for trunk/wp-includes/query.php
- Timestamp:
- 07/25/2010 07:35:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r15229 r15471 2739 2739 $this->queried_object_id = $term->term_id; 2740 2740 } elseif ( $this->is_posts_page ) { 2741 $this->queried_object = & get_page(get_option('page_for_posts')); 2741 $page_for_posts = get_option('page_for_posts'); 2742 $this->queried_object = & get_page( $page_for_posts ); 2742 2743 $this->queried_object_id = (int) $this->queried_object->ID; 2743 2744 } elseif ( $this->is_single && !is_null($this->post) ) {
Note: See TracChangeset
for help on using the changeset viewer.