Plugin Directory

Changeset 1484427


Ignore:
Timestamp:
08/27/2016 02:38:06 AM (10 years ago)
Author:
codecookies
Message:

Removed sensor parameter from GMaps

Location:
cc-essentials
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cc-essentials/tags/1.0.0/shortcodes/shortcodes.php

    r1481829 r1484427  
    417417    $api_key = isset( $cce_options['api_key'] ) ? 'key='.$cce_options['api_key'] : false;
    418418
    419     wp_enqueue_script( 'google-maps', ( is_ssl() ? 'https' : 'http' ) . '://maps.googleapis.com/maps/api/js?'.$api_key.'&v=3.exp&sensor=false' );
     419    wp_enqueue_script( 'google-maps', ( is_ssl() ? 'https' : 'http' ) . '://maps.googleapis.com/maps/api/js?'.$api_key.'&v=3.exp' );
    420420
    421421    ?>
  • cc-essentials/trunk/shortcodes/shortcodes.php

    r1481829 r1484427  
    417417    $api_key = isset( $cce_options['api_key'] ) ? 'key='.$cce_options['api_key'] : false;
    418418
    419     wp_enqueue_script( 'google-maps', ( is_ssl() ? 'https' : 'http' ) . '://maps.googleapis.com/maps/api/js?'.$api_key.'&v=3.exp&sensor=false' );
     419    wp_enqueue_script( 'google-maps', ( is_ssl() ? 'https' : 'http' ) . '://maps.googleapis.com/maps/api/js?'.$api_key.'&v=3.exp' );
    420420
    421421    ?>
Note: See TracChangeset for help on using the changeset viewer.