Ticket #16854: query-patch-for-multiple-exclude-authors.patch
File query-patch-for-multiple-exclude-authors.patch, 442 bytes (added by , 14 years ago) |
---|
-
wp-includes/query.php
2221 2221 $eq = '!='; 2222 2222 $andor = 'AND'; 2223 2223 $q['author'] = explode('-', $q['author']); 2224 $q['author'] = (string)absint($q['author'][1]);2224 $q['author'] = implode('',$q['author']); 2225 2225 } else { 2226 2226 $eq = '='; 2227 2227 $andor = 'OR';