Changeset 11013 for trunk/wp-includes/query.php
- Timestamp:
- 04/20/2009 06:18:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r10992 r11013 2007 2007 $q['author'] = get_user_by('slug', $q['author_name']); 2008 2008 if ( $q['author'] ) 2009 $q['author'] = $q['author']->ID; 2009 $q['author'] = $q['author']->ID; 2010 2010 $whichauthor .= " AND ($wpdb->posts.post_author = ".absint($q['author']).')'; 2011 2011 }
Note: See TracChangeset
for help on using the changeset viewer.