Title: Multiple calls to Map API breaks functionality in wp-admin
Last modified: August 31, 2016

---

# Multiple calls to Map API breaks functionality in wp-admin

 *  Resolved [Clicknathan](https://wordpress.org/support/users/clicknathan/)
 * (@clicknathan)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/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://wordpress.org/plugins/mappress-google-maps-for-wordpress/](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/)

The topic ‘Multiple calls to Map API breaks functionality in wp-admin’ is closed
to new replies.

 * ![](https://ps.w.org/mappress-google-maps-for-wordpress/assets/icon-256x256.png?
   rev=2410347)
 * [MapPress Maps for WordPress](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Clicknathan](https://wordpress.org/support/users/clicknathan/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-calls-to-map-api-breaks-functionality-in-wp-admin/)
 * Status: resolved