• Resolved jomo

    (@jonathanmoorebcsorg)


    code hooking wp_head always calls

    //*** if the site is visited for the first time lets execute geo ip conditions
     $this->init_geo_currency();

    Actually there is no if here, $is_first_unique_visit is not tested, the code goes straight ahead and does geolocate_ip() even if geo rules are turned off in woods settings:

            $pd = WC_Geolocation::geolocate_ip();
            $this->storage->set_val('woocs_user_country', $pd['country']);
            //***
            if ($this->is_use_geo_rules()) {
    • This topic was modified 4 years ago by jomo.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘overuse of geolocation’ is closed to new replies.