Changeset 36989 for trunk/src/wp-includes/query.php
- Timestamp:
- 03/14/2016 02:11:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r36699 r36989 2195 2195 $term = trim( $term, "\"' " ); 2196 2196 2197 // Avoid single A-Z .2198 if ( ! $term || ( 1 === strlen( $term ) && preg_match( '/^[a-z ]$/i', $term ) ) )2197 // Avoid single A-Z and single dashes. 2198 if ( ! $term || ( 1 === strlen( $term ) && preg_match( '/^[a-z\-]$/i', $term ) ) ) 2199 2199 continue; 2200 2200
Note: See TracChangeset
for help on using the changeset viewer.