[wp-meta] [Making WordPress.org] #3295: Events API location search is case-sensitive

Making WordPress.org noreply at wordpress.org
Wed Nov 29 19:45:50 UTC 2017

#3295: Events API location search is case-sensitive
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect          |      Status:  new
 Priority:  normal          |   Milestone:
Component:  API             |  Resolution:
 Keywords:  2nd-opinion     |

Comment (by iandunn):

 Replying to [ticket:3295 SergeyBiryukov]:
 > * `Санкт-Петербург` works as expected.
 > * `санкт-петербург` returns a `could_not_locate_city` error.

 I was able to reproduce that. I added a test case for it on my sandbox,
 but am going to wait to deploy it until after the 4.9.1 release settles
 down, just to be safe.

 > Events API tries to guess the location from the IP address if no other
 info is provided, but for some reason it doesn't always work

 I'm guessing that's caused by a different problem. It's expected that it
 won't work 100% of the time, because IP geolocation is never perfect, but
 there might still be a specific problem that we can solve. Can you get
 some more details, so that we can  troubleshoot it? If they install the
 `log-community-events-requests.php` mu-plugin from #wp41217, and then send
 us the relevant parts of the PHP error log, then we should have the info
 we'll need.

 If they've set a location manually, they'll need to clear it, so that IP
 geolocation is re-enabled. The easiest way to do that is to search for a
 city that doesn't exist (like `Narnia`), and then refresh.

Ticket URL: <https://meta.trac.wordpress.org/ticket/3295#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list