mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1507,7 +1507,7 @@ class WP_Query {
|
||||
$q[$t->query_var] = wp_basename( $q[$t->query_var] );
|
||||
}
|
||||
|
||||
$term = str_replace( ' ', '+', $q[$t->query_var] );
|
||||
$term = $q[$t->query_var];
|
||||
|
||||
if ( strpos($term, '+') !== false ) {
|
||||
$terms = preg_split( '/[+]+/', $term );
|
||||
|
||||
Reference in New Issue
Block a user