Changeset 2545378
- Timestamp:
- 06/10/2021 04:11:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gf-auto-populate-country-state-city-ward-dropdown-addon/trunk/includes/class-gffield-countrycity.php
r2508393 r2545378 117 117 118 118 usort($country_1, function ($item1, $item2) { 119 return $item1['name'] <=> $item2['name']; 119 if ($item1['name'] == $item2['name']) { 120 return 0; 121 } 122 return ($item1['name'] < $item2['name']) ? -1 : 1; 123 // php version < 7. 124 // return $item1['name'] <=> $item2['name']; 120 125 }); 121 126
Note: See TracChangeset
for help on using the changeset viewer.