[wp-trac] [WordPress Trac] #42787: Location Search not working for same name cities in different states (Events & News dashboard widget)

WordPress Trac noreply at wordpress.org
Wed Dec 6 20:28:09 UTC 2017


#42787: Location Search not working for same name cities in different states
(Events & News dashboard widget)
----------------------------+----------------------------
 Reporter:  shedonist       |       Owner:  iandunn
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  WordPress.org
Component:  Administration  |     Version:  4.8
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+----------------------------
Changes (by iandunn):

 * owner:   => iandunn
 * status:  new => accepted
 * focuses:  administration =>
 * version:  trunk => 4.8
 * milestone:  Awaiting Review => WordPress.org


Comment:

 Thanks for the report Amanda :)

 To some extent this is a known limitation of the API, but there are some
 steps we already take to mitigate it, and there may be some more things we
 can do. Sometimes it's tough to balance those with performance
 implications, though.

 #meta2823 has some related discussion about performance, and possibly
 about moving to Google's Geocoding API as an alternative (comment 51 has a
 recap of the latest status).

 There may still be some incremental changes we can make to improve things
 with the current API, though.

 Can you add some more details, so that we can isolate the exact cause? If
 you install the `log-community-events-requests.php` mu-plugin from #41217,
 then you'll start seeing the details in your PHP error log when you search
 for a city.

 ( The changes to fix this are likely on the API side, but moving this to
 the w.org milestone for now, since it's not entirely clear yet )

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42787#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list