Changeset 3536 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/site-search/jetpack-search.php
- Timestamp:
- 06/22/2016 10:40:27 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/site-search/jetpack-search.php
r3535 r3536 273 273 274 274 $locale = get_locale(); 275 if ( $locale && substr( $locale, 0, 2 ) !== 'en' ) {275 if ( $locale && $locale !== 'en' && $locale !== 'en_US' ) { 276 276 $es_wp_query_args['query_fields'] = array( "title_{$locale}^2", 'title_en^0.5', "content_{$locale}^2", 'content_en^0.5', 'author', 'tag', 'category', 'slug_ngram', 'contributors' ); 277 277 } else {
Note: See TracChangeset
for help on using the changeset viewer.