Changeset 3290
- Timestamp:
- 12/11/2005 07:14:29 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r3252 r3290 735 735 $this->queried_object_id = $this->post->ID; 736 736 } else if ($this->is_author) { 737 global $cache_userdata; 738 if (isset($cache_userdata[$this->get('author')])) { 739 $this->queried_object = $cache_userdata[$this->get('author')]; 740 $this->queried_object_id = $this->get('author'); 741 } 737 $author_id = $this->get('author'); 738 $author = get_userdata($author_id); 739 $this->queried_object = $author; 740 $this->queried_object_id = $author_id; 742 741 } 743 742
Note: See TracChangeset
for help on using the changeset viewer.