WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7/src/wp-includes/query.php

    r25890 r25955  
    19871987                $term = trim( $term, "\"' " );
    19881988
    1989             // \p{L} matches a single letter that is not a Chinese, Japanese, etc. char
    1990             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 ) ) )
    19911991                continue;
    19921992
Note: See TracChangeset for help on using the changeset viewer.