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’ );