[wp-trac] [WordPress Trac] #40702: Add WordCamps and meetup events to the News Dashboard widget

WordPress Trac noreply at wordpress.org
Wed May 17 23:37:55 UTC 2017


#40702: Add WordCamps and meetup events to the News Dashboard widget
----------------------------+-----------------------------------
 Reporter:  iandunn         |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.8
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript, rest-api
----------------------------+-----------------------------------

Comment (by iandunn):

 [attachment:40702-geoip.diff] changes the Events class to always pass the
 user's IP address when making requests to api.w.org.

 There's been a lot of feedback after beta 1 about the location results not
 being accurate enough, and this is one thing that can help with that. When
 the API has multiple potential locations -- e.g., `Paris, France`, `Paris,
 Texas, USA`, etc -- it can geolocate the IP and use that as a clue to
 figure out which is the most likely the one the user intended.

 I don't think that this has a significant impact on privacy, since the API
 would already have the IP from the initial request (if it were to store
 it, which it doesn't). If anyone is concerned, though,
 [https://make.wordpress.org/community/2017/03/23/showing-upcoming-local-
 events-in-wp-admin/#comment-23475 it would be very easy to write a plugin
 to redact the IP from the request]. If anyone has interest in that, please
 do it and let me know. If nobody else does, I'll try to make time for it
 in a week or two when higher priorities have been sorted.

 Related #40794

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


More information about the wp-trac mailing list