diff --git a/wp-includes/query.php b/wp-includes/query.php index 4b3e1e41f7..7bebfb4932 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -2194,8 +2194,8 @@ class WP_Query { else $term = trim( $term, "\"' " ); - // Avoid single A-Z. - if ( ! $term || ( 1 === strlen( $term ) && preg_match( '/^[a-z]$/i', $term ) ) ) + // Avoid single A-Z and single dashes. + if ( ! $term || ( 1 === strlen( $term ) && preg_match( '/^[a-z\-]$/i', $term ) ) ) continue; if ( in_array( call_user_func( $strtolower, $term ), $stopwords, true ) ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 6e34d63cfe..da0901a8c1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta3-36988'; +$wp_version = '4.5-beta3-36989'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.