WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/21/2010 04:33:05 PM (9 years ago)
Author:
scribu
Message:

Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r16515 r16526  
    15081508                }
    15091509
    1510                 $term = str_replace( ' ', '+', $q[$t->query_var] );
     1510                $term = $q[$t->query_var];
    15111511
    15121512                if ( strpos($term, '+') !== false ) {
Note: See TracChangeset for help on using the changeset viewer.