Changeset 16526
- Timestamp:
- 11/21/2010 04:33:05 PM (14 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp.php
r16101 r16526 272 272 } 273 273 } 274 275 // Convert urldecoded spaces back into + 276 foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t ) 277 if ( $t->query_var && isset( $this->query_vars[$t->query_var] ) ) 278 $this->query_vars[$t->query_var] = str_replace( ' ', '+', $this->query_vars[$t->query_var] ); 274 279 275 280 // Limit publicly queried post_types to those that are publicly_queryable -
trunk/wp-includes/query.php
r16515 r16526 1508 1508 } 1509 1509 1510 $term = str_replace( ' ', '+', $q[$t->query_var] );1510 $term = $q[$t->query_var]; 1511 1511 1512 1512 if ( strpos($term, '+') !== false ) {
Note: See TracChangeset
for help on using the changeset viewer.