Ticket #42861: 42861.diff
File 42861.diff, 1.1 KB (added by , 6 years ago) |
---|
-
wp-admin/includes/ajax-actions.php
357 357 * The location should only be updated when it changes. The API doesn't always return 358 358 * a full location; sometimes it's missing the description or country. The location 359 359 * that was saved during the initial request is known to be good and complete, though. 360 * It should be left in 360 * It should be left intact until the user explicitly changes it (either by manually 361 361 * searching for a new location, or by changing their IP address). 362 362 * 363 * If the location w ereupdated with an incomplete response from the API, then it could363 * If the location was updated with an incomplete response from the API, then it could 364 364 * break assumptions that the UI makes (e.g., that there will always be a description 365 365 * that corresponds to a latitude/longitude location). 366 366 *