Ticket #25709: 25709.2.diff
File 25709.2.diff, 604 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/query.php
1986 1986 else 1987 1987 $term = trim( $term, "\"' " ); 1988 1988 1989 // \p{L} matches a single letter that is not a Chinese, Japanese, etc. char1990 if ( ! $term || @preg_match( '/^\p{L}$/u', $term) )1989 // Avoid single A-Z. 1990 if ( ! $term || ( 1 === strlen( $term ) && preg_match( '/^[a-z]$/i', $term ) ) ) 1991 1991 continue; 1992 1992 1993 1993 if ( in_array( call_user_func( $strtolower, $term ), $stopwords, true ) )