title: Loading Google Maps API with wp_enqueue_script
body: <p>I'm trying to load the Google Maps API using the following syntax:</p>
  <pre><code>add_action('admin_enqueue_scripts', 'load_google_maps');
  </code></pre>
  <p>...</p>
  <pre><code>function load_google_maps()
  {
    // The actual API key is configured in an options page
    $key = get_option('google_maps_api_key');
    $gmaps_url = 'http://maps.googleapis.com/maps/api/js?key=' . $key . '&amp;amp;sensor=false';
    wp_enqueue_script('google-maps', $gmaps_url, NULL, NULL);
  }
  </code></pre>
  <p>WordPress is escaping the &quot;&amp;&quot; to &quot;&amp;#038&quot;. This actually makes the Google server reject the request. When I type it directly into browser address bar with &quot;&amp;sensor=false&quot; at the end, it loads fine.</p>
  <p>I saw a bug of this kind mentioned in the WordPress trac system: <a href="http://core.trac.wordpress.org/ticket/9243" rel="nofollow noreferrer">http://core.trac.wordpress.org/ticket/9243</a> but it was dismissed as invalid, and the admin responding to the request showed somehow that the &quot;&amp;#038&quot; approach was fine. It is definitely not fine from Google's point of view.</p>
  <p>I could of course just get the function to echo the HTML as a script tag, but I'd rather use the wp_enqueue_script system if possible.</p>
  <p>Anyone know of a solution to this?</p>
  <p>Cheers,</p>
  <p>raff</p>