Ticket #17737: 17737.patch
File 17737.patch, 519 bytes (added by , 14 years ago) |
---|
-
wp-includes/query.php
2261 2261 if ( empty($q['author']) || ($q['author'] == '0') ) { 2262 2262 $whichauthor = ''; 2263 2263 } else { 2264 $q['author'] = (string)urldecode($q['author']);2264 $q['author'] = urldecode((string)$q['author']); 2265 2265 $q['author'] = addslashes_gpc($q['author']); 2266 2266 if ( strpos($q['author'], '-') !== false ) { 2267 2267 $eq = '!=';