Skip to content

Commit

Permalink
API Update
Browse files Browse the repository at this point in the history
Google Maps API no longer requires "sensor"
  • Loading branch information
mmcnew committed Feb 15, 2016
1 parent 0e271ff commit 747f176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vc-gmaps-bg.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: VC GMaps Background Section
Plugin URI: http://www.visceralconcepts.com
Description: A shortcode to add the Google Map of the company's location to the bacground of any section.
Version: 1.10
Version: 1.11
Author: Visceral Concepts
Author URI: http://www.visceralconcepts.com
License: GPLv3 or Later
Expand Down Expand Up @@ -31,7 +31,7 @@ function gmaps_scripts() {

wp_register_style( 'gmaps-css', plugin_dir_url(__FILE__) . 'css/gmaps-style.css' );
wp_register_script( 'gmaps-script', plugin_dir_url(__FILE__) . 'js/gmaps.js' );
wp_register_script( 'gmaps-api', 'http://maps.googleapis.com/maps/api/js?sensor=false' );
wp_register_script( 'gmaps-api', 'http://maps.googleapis.com/maps/api/js' );
wp_enqueue_style( 'gmaps-css' );
wp_enqueue_script( 'gmaps-api' );
wp_enqueue_script( 'gmaps-script' );
Expand Down

0 comments on commit 747f176

Please sign in to comment.