• This plugin changes:

    <script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&ver=5-2-17-000'></script>

    into:

    $LAB.script("https://maps.googleapis.com/maps/api/js?v=5-2-17-000#038;sensor=false")

    The # breaks the querystring, resulting in this error in an alertbox:

    The Google Maps API server rejected your request. The ‘sensor’ parameter specified in the request must be set to either ‘true’ or ‘false’.

    The php code that generates the enqueueing of the google maps api is:

    wp_enqueue_script( 'wppa-geo', 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false', '', '5-2-17-000', true );

    https://www.ads-software.com/plugins/wp-deferred-javascripts/

    This forces me to put this plugin on the blacklist, users are asked to de-activate it due to malfunctioning.

  • The topic ‘Breaks google maps api’ is closed to new replies.