Multiple calls to Map API breaks functionality in wp-admin
-
Had to change line 525 in mappress.php to this:
if (!is_admin()) { wp_enqueue_script("mappress-gmaps", "https://maps.googleapis.com/maps/api/js?sensor=true{$language}{$libstring}{$apikey}", null, null, $footer); }Because the front end still needs that script, but the backend breaks with it enqueued.
https://ww.wp.xz.cn/plugins/mappress-google-maps-for-wordpress/
The topic ‘Multiple calls to Map API breaks functionality in wp-admin’ is closed to new replies.