WP Google Maps - Version 5.07

Version Description

  • Fixed a wp-admin jQuery bug
Download this release

Release Info

Developer WPGMaps
Plugin Icon 128x128 WP Google Maps
Version 5.07
Comparing to
See all releases

Code changes from version 5.06 to 5.07

Files changed (2) hide show
  1. readme.txt +3 -0
  2. wpGoogleMaps.php +9 -7
readme.txt CHANGED
@@ -81,6 +81,9 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
81
82
== Changelog ==
83
84
= 5.06 =
85
* Updated the plugin to force the latest jQuery to be loaded.
86
81
82
== Changelog ==
83
84
+ = 5.07 =
85
+ * Fixed a wp-admin jQuery bug
86
+
87
= 5.06 =
88
* Updated the plugin to force the latest jQuery to be loaded.
89
wpGoogleMaps.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: WP Google Maps
4
Plugin URI: http://www.wpgmaps.com
5
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
- Version: 5.06
7
Author: WP Google Maps
8
Author URI: http://www.wpgmaps.com
9
*/
@@ -28,8 +28,8 @@ $wpgmza_p = false;
28
$wpgmza_g = false;
29
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
30
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
31
- $wpgmza_version = "5.06";
32
- $wpgmza_p_version = "5.06";
33
$wpgmza_t = "basic";
34
35
add_action('admin_head', 'wpgmaps_head');
@@ -2145,8 +2145,10 @@ function wpgmaps_filter(&$array) {
2145
}
2146
2147
function wpgmaps_load_jquery() {
2148
- wp_deregister_script('jquery');
2149
- wp_register_script('jquery', 'http://code.jquery.com/jquery-1.8.3.min.js', false, "1.8.3");
2150
- wp_enqueue_script('jquery');
2151
}
2152
- add_action('wp_enqueue_scripts', 'wpgmaps_load_jquery', 9999);
3
Plugin Name: WP Google Maps
4
Plugin URI: http://www.wpgmaps.com
5
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
+ Version: 5.07
7
Author: WP Google Maps
8
Author URI: http://www.wpgmaps.com
9
*/
28
$wpgmza_g = false;
29
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
30
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
31
+ $wpgmza_version = "5.07";
32
+ $wpgmza_p_version = "5.07";
33
$wpgmza_t = "basic";
34
35
add_action('admin_head', 'wpgmaps_head');
2145
}
2146
2147
function wpgmaps_load_jquery() {
2148
+ if (!is_admin()) {
2149
+ wp_deregister_script('jquery');
2150
+ wp_register_script('jquery', 'http://code.jquery.com/jquery-1.8.3.min.js', false, "1.8.3");
2151
+ wp_enqueue_script('jquery');
2152
+ }
2153
}
2154
+ add_action('wp_enqueue_scripts', 'wpgmaps_load_jquery', 9999);