geocords fixed?

Home Forums Calendar Products Events Calendar PRO geocords fixed?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1030176
    Lisa League
    Participant

    I’m getting a PHP warning and have pasted in the system information area – I’m wondering if the issue with the Google Maps API was fixed and I can remove this, as it refers to this code:

    /**
    * ll151028_Null values in the geoloc estimates can cause breakages with the
    * current Google Maps scripts; this helps to ensure that is avoided
    * by effectively casting nulls to zeroes.
    *
    * @param array $geocords
    *
    * @return array
    */
    function temp_fix_geocoords_breakage( $geocords ) {
    return array_map( ‘floatval’, $geocords );
    }
    add_filter( ‘transient_geoloc_center_point_estimation’, ‘temp_fix_geocoords_breakage’ );

    #1030287
    Brian
    Member

    Hi,

    That bug was fixed with the latest releases and you can remove that snippet now.

    Cheers

    #1075771
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘geocords fixed?’ is closed to new replies.