Changeset 10341
- Timestamp:
- 10/02/2020 04:38:04 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/events/1.0/index.php
r10305 r10341 667 667 // Check if they entered only the country name, e.g. "Germany" or "New Zealand" 668 668 $country = get_country_from_name( $location_name ); 669 $location_word_count = str_word_count( $location_name );670 669 $location_name_parts = preg_split( '/\s+/u', $location_name ); 670 $location_word_count = count( $location_name_parts ); 671 671 672 672 /*
Note: See TracChangeset
for help on using the changeset viewer.