[wp-meta] [Making WordPress.org] #3728: Some city names shown incorrectly in Events API

Making WordPress.org noreply at wordpress.org
Mon Nov 30 03:59:35 UTC 2020


#3728: Some city names shown incorrectly in Events API
------------------------+-----------------------
 Reporter:  Presskopp   |       Owner:  dd32
     Type:  defect      |      Status:  assigned
 Priority:  normal      |   Milestone:
Component:  Events API  |  Resolution:
 Keywords:              |
------------------------+-----------------------

Comment (by dd32):

 In [changeset:"10474" 10474]:
 {{{
 #!CommitTicketReference repository="" revision="10474"
 Events API: Update the API to accept the new `type` DB field to
 disambiguate actual places from States/Countries/others.

 As part of this the table now includes non-city locations such as
 countries too, and so if the best match is a country it's still handled
 properly (returning country-wide events rather than just distance around
 the central point of the country).

 Updates the tests to take into account the new database changes, but these
 are likely to become out-of-date as the data will be updated daily going
 forward.

 See #3728.
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3728#comment:18>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list