WP Google Maps - Version 5.11

Version Description

  • Added SSL bug fixes
  • Fixed a bug that wasnt allowing users to edit the exact location
Download this release

Release Info

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

Code changes from version 5.10 to 5.11

Files changed (4) hide show
  1. images/New1.JPG +0 -0
  2. images/New2.JPG +0 -0
  3. readme.txt +5 -0
  4. wpGoogleMaps.php +10 -9
images/New1.JPG CHANGED
Binary file
images/New2.JPG CHANGED
Binary file
readme.txt CHANGED
@@ -5,6 +5,7 @@ Tags: google maps, maps, map, map markers, google, interactive, maps api, wp map
5
  Requires at least: 2.9.2
6
  Tested up to: 3.5.1
7
  Stable tag: trunk
 
8
 
9
  The easiest to use map plugin! Create custom maps with high quality markers containing locations, descriptions, images and links.
10
 
@@ -82,6 +83,10 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
82
 
83
  == Changelog ==
84
 
 
 
 
 
85
  = 5.10 =
86
  * Small bug fix
87
 
5
  Requires at least: 2.9.2
6
  Tested up to: 3.5.1
7
  Stable tag: trunk
8
+ License: GPLv2
9
 
10
  The easiest to use map plugin! Create custom maps with high quality markers containing locations, descriptions, images and links.
11
 
83
 
84
  == Changelog ==
85
 
86
+ = 5.11 =
87
+ * Added SSL bug fixes
88
+ * Fixed a bug that wasnt allowing users to edit the exact location
89
+
90
  = 5.10 =
91
  * Small bug fix
92
 
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.10
7
  Author: WP Google Maps
8
  Author URI: http://www.wpgmaps.com
9
  */
@@ -33,8 +33,8 @@ $wpgmza_tblname = $wpdb->prefix . "wpgmza";
33
  $wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
34
  $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
35
  $wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
36
- $wpgmza_version = "5.10";
37
- $wpgmza_p_version = "5.10";
38
  $wpgmza_t = "basic";
39
 
40
  add_action('admin_head', 'wpgmaps_head');
@@ -1149,13 +1149,14 @@ function wpgmaps_head() {
1149
  "UPDATE $wpgmza_tblname SET
1150
  lat = %s,
1151
  lng = %s
1152
- WHERE id = sss%d",
1153
 
1154
  $wpgmaps_marker_lat,
1155
  $wpgmaps_marker_lng,
1156
  $mid)
1157
  );
1158
 
 
1159
 
1160
 
1161
 
@@ -2112,23 +2113,23 @@ function wpgmaps_admin_scripts() {
2112
  wpgmaps_debugger("admin_scripts_start");
2113
  wp_enqueue_script('media-upload');
2114
  wp_enqueue_script('thickbox');
2115
- wp_register_script('my-wpgmaps-upload', WP_PLUGIN_URL.'/'.plugin_basename(dirname(__FILE__)).'/upload.js', array('jquery','media-upload','thickbox'));
2116
  wp_enqueue_script('my-wpgmaps-upload');
2117
 
2118
  if ($_GET['action'] == "add_poly" || $_GET['action'] == "edit_poly" || $_GET['action'] == "add_polyline" || $_GET['action'] == "edit_polyline") {
2119
- wp_register_script('my-wpgmaps-color', WP_PLUGIN_URL.'/'.plugin_basename(dirname(__FILE__)).'/js/jscolor.js', false, '1.4.1', false);
2120
  wp_enqueue_script('my-wpgmaps-color');
2121
  }
2122
  if ($_GET['page'] == "wp-google-maps-menu" && $_GET['action'] == "edit") {
2123
  wp_enqueue_script( 'jquery-ui-tabs');
2124
- wp_register_script('my-wpgmaps-tabs', WP_PLUGIN_URL.'/'.plugin_basename(dirname(__FILE__)).'/js/wpgmaps_tabs.js', array('jquery-ui-core'), '1.0.1', true);
2125
  wp_enqueue_script('my-wpgmaps-tabs');
2126
  }
2127
  wpgmaps_debugger("admin_scripts_end");
2128
 
2129
  }
2130
  function wpgmaps_user_styles() {
2131
- wp_register_style( 'wpgmaps-style', plugins_url('/css/wpgmza_style.css', __FILE__) );
2132
  wp_enqueue_style( 'wpgmaps-style' );
2133
 
2134
 
@@ -2626,7 +2627,7 @@ function wpgmaps_load_jquery() {
2626
  $wpgmza_settings = get_option("WPGMZA_OTHER_SETTINGS");
2627
  if ($wpgmza_settings['wpgmza_settings_force_jquery'] == "yes") {
2628
  wp_deregister_script('jquery');
2629
- wp_register_script('jquery', WP_PLUGIN_URL.'/'.plugin_basename(dirname(__FILE__))."/js/jquery.min.js", false, "1.8.3");
2630
  }
2631
  wp_enqueue_script('jquery');
2632
  }
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.11
7
  Author: WP Google Maps
8
  Author URI: http://www.wpgmaps.com
9
  */
33
  $wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
34
  $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
35
  $wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
36
+ $wpgmza_version = "5.11";
37
+ $wpgmza_p_version = "5.11";
38
  $wpgmza_t = "basic";
39
 
40
  add_action('admin_head', 'wpgmaps_head');
1149
  "UPDATE $wpgmza_tblname SET
1150
  lat = %s,
1151
  lng = %s
1152
+ WHERE id = %d",
1153
 
1154
  $wpgmaps_marker_lat,
1155
  $wpgmaps_marker_lng,
1156
  $mid)
1157
  );
1158
 
1159
+
1160
 
1161
 
1162
 
2113
  wpgmaps_debugger("admin_scripts_start");
2114
  wp_enqueue_script('media-upload');
2115
  wp_enqueue_script('thickbox');
2116
+ wp_register_script('my-wpgmaps-upload', plugins_url('upload.js', __FILE__), array('jquery','media-upload','thickbox'));
2117
  wp_enqueue_script('my-wpgmaps-upload');
2118
 
2119
  if ($_GET['action'] == "add_poly" || $_GET['action'] == "edit_poly" || $_GET['action'] == "add_polyline" || $_GET['action'] == "edit_polyline") {
2120
+ wp_register_script('my-wpgmaps-color', plugins_url('js/jscolor.js',__FILE__), false, '1.4.1', false);
2121
  wp_enqueue_script('my-wpgmaps-color');
2122
  }
2123
  if ($_GET['page'] == "wp-google-maps-menu" && $_GET['action'] == "edit") {
2124
  wp_enqueue_script( 'jquery-ui-tabs');
2125
+ wp_register_script('my-wpgmaps-tabs', plugins_url('js/wpgmaps_tabs.js',__FILE__), array('jquery-ui-core'), '1.0.1', true);
2126
  wp_enqueue_script('my-wpgmaps-tabs');
2127
  }
2128
  wpgmaps_debugger("admin_scripts_end");
2129
 
2130
  }
2131
  function wpgmaps_user_styles() {
2132
+ wp_register_style( 'wpgmaps-style', plugins_url('css/wpgmza_style.css', __FILE__) );
2133
  wp_enqueue_style( 'wpgmaps-style' );
2134
 
2135
 
2627
  $wpgmza_settings = get_option("WPGMZA_OTHER_SETTINGS");
2628
  if ($wpgmza_settings['wpgmza_settings_force_jquery'] == "yes") {
2629
  wp_deregister_script('jquery');
2630
+ wp_register_script('jquery', plugins_url("js/jquery.min.js",__FILE__), false, "1.8.3");
2631
  }
2632
  wp_enqueue_script('jquery');
2633
  }