- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7/src/wp-includes/query.php
r25955 r25890 1987 1987 $term = trim( $term, "\"' " ); 1988 1988 1989 // Avoid single A-Z.1990 if ( ! $term || ( 1 === strlen( $term ) && preg_match( '/^[a-z]$/i', $term )) )1989 // \p{L} matches a single letter that is not a Chinese, Japanese, etc. char 1990 if ( ! $term || preg_match( '/^\p{L}$/u', $term ) ) 1991 1991 continue; 1992 1992
Note: See TracChangeset
for help on using the changeset viewer.