Changeset 21073
- Timestamp:
- 06/12/2012 11:09:27 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r20836 r21073 2674 2674 // Check post status to determine if post should be displayed. 2675 2675 if ( !empty($this->posts) && ($this->is_single || $this->is_page) ) { 2676 $status = get_post_status($this->posts[0] ->ID);2676 $status = get_post_status($this->posts[0]); 2677 2677 $post_status_obj = get_post_status_object($status); 2678 2678 //$type = get_post_type($this->posts[0]);
Note: See TracChangeset
for help on using the changeset viewer.