Changeset 28667
- Timestamp:
- 06/04/2014 11:42:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r28666 r28667 3724 3724 $this->queried_object = get_post( $page_for_posts ); 3725 3725 $this->queried_object_id = (int) $this->queried_object->ID; 3726 } elseif ( $this->is_singular && ! is_null($this->post) ) {3726 } elseif ( $this->is_singular && ! empty( $this->post ) ) { 3727 3727 $this->queried_object = $this->post; 3728 3728 $this->queried_object_id = (int) $this->post->ID;
Note: See TracChangeset
for help on using the changeset viewer.