Ticket #39428: 39428.2.diff
| File 39428.2.diff, 499 bytes (added by , 14 months ago) |
|---|
-
src/wp-includes/class-wp-query.php
diff --git src/wp-includes/class-wp-query.php src/wp-includes/class-wp-query.php index 21127dc755..734ab78a21 100644
class WP_Query { 2431 2431 $q['author'] = get_user_by( 'slug', $q['author_name'] ); 2432 2432 if ( $q['author'] ) { 2433 2433 $q['author'] = $q['author']->ID; 2434 } else { 2435 return array(); 2434 2436 } 2435 2437 $whichauthor .= " AND ({$wpdb->posts}.post_author = " . absint( $q['author'] ) . ')'; 2436 2438 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)