Make WordPress Core

Ticket #42861: 42861.diff

File 42861.diff, 1.1 KB (added by Presskopp, 8 years ago)
  • wp-admin/includes/ajax-actions.php

     
    357357                 * The location should only be updated when it changes. The API doesn't always return
    358358                 * a full location; sometimes it's missing the description or country. The location
    359359                 * that was saved during the initial request is known to be good and complete, though.
    360                  * It should be left in tact until the user explicitly changes it (either by manually
     360                 * It should be left intact until the user explicitly changes it (either by manually
    361361                 * searching for a new location, or by changing their IP address).
    362362                 *
    363                  * If the location were updated with an incomplete response from the API, then it could
     363                 * If the location was updated with an incomplete response from the API, then it could
    364364                 * break assumptions that the UI makes (e.g., that there will always be a description
    365365                 * that corresponds to a latitude/longitude location).
    366366                 *