[wp-trac] [WordPress Trac] #45963: Get Geo Location

WordPress Trac noreply at wordpress.org
Sat Jan 12 21:11:12 UTC 2019


#45963: Get Geo Location
-------------------------+-----------------------------
 Reporter:  bhubbard     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 It would be great if wordpress had a function to get geolocation of a
 user. Several different tools exist out there, but many are dependent on
 the server setup. For example with CloudFlare its as simple as getting the
 following;

 {{{
 $_SERVER['HTTP_CF_IPCOUNTRY']
 }}}

 Having a general method in WordPress that plugins/hosting providers can
 modify as needed could make getting geolocation simpler.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45963>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list