Ticket #20150: get_posts-exclude-more-than-1-author.patch
| File get_posts-exclude-more-than-1-author.patch, 652 bytes (added by , 14 years ago) |
|---|
-
wp-includes/query.php
old new class WP_Query { 2279 2279 $eq = '!='; 2280 2280 $andor = 'AND'; 2281 2281 $q['author'] = explode('-', $q['author']); 2282 $q['author'] = (string)absint($q['author'][1]);2282 $q['author'] = $q['author'][1]; 2283 2283 } else { 2284 2284 $eq = '='; 2285 2285 $andor = 'OR';