Snazzy Maps - Version 1.3.0

Version Description

Release Date: October 4th, 2020

  • Update: Minor changes to ensure that the plugin works with newer versions of WordPress up to 5.5.1.
Download this release

Release Info

Developer atmistinc
Plugin Icon 128x128 Snazzy Maps
Version 1.3.0
Comparing to
See all releases

Code changes from version 1.2.1 to 1.3.0

Files changed (3) hide show
  1. admin/index.js +5 -5
  2. readme.txt +7 -2
  3. snazzymaps.php +2 -2
admin/index.js CHANGED
@@ -128,13 +128,13 @@ jQuery(document).ready(function($) {
128
  );
129
  };
130
 
131
- $("#explore-list select").live("change", function() {
132
  var q = {};
133
  q[this.name] = $(this).val();
134
  q["ppage"] = 1; //Reset the page number because we are changing the results
135
  replaceGET(q);
136
  });
137
- $("#search-form").live("submit", function() {
138
  replaceGET({
139
  text: $(this).find('input[name="text"]').val(),
140
  ppage: 1 //Reset the page number because we are changing the results
@@ -142,19 +142,19 @@ jQuery(document).ready(function($) {
142
  return false;
143
  });
144
 
145
- $(".style").live("submit", function() {
146
  $(this)
147
  .find('input[name="new_style"]')
148
  .val(encodeURIComponent(JSON.stringify($(this).data("style"))));
149
  });
150
 
151
  //Pagination
152
- $(".tablenav-pages a").live("click", function() {
153
  replaceGET({ ppage: $(this).data("page") });
154
  return false;
155
  });
156
 
157
- $(".current-page").live("change", function() {
158
  var start = $(".first-page").data("page");
159
  var end = $(".last-page").data("page");
160
  var page = parseInt($(this).val(), 10);
128
  );
129
  };
130
 
131
+ $(document).on("change", "#explore-list select", function() {
132
  var q = {};
133
  q[this.name] = $(this).val();
134
  q["ppage"] = 1; //Reset the page number because we are changing the results
135
  replaceGET(q);
136
  });
137
+ $(document).on("submit", "#search-form", function() {
138
  replaceGET({
139
  text: $(this).find('input[name="text"]').val(),
140
  ppage: 1 //Reset the page number because we are changing the results
142
  return false;
143
  });
144
 
145
+ $(document).on("submit", ".style", function() {
146
  $(this)
147
  .find('input[name="new_style"]')
148
  .val(encodeURIComponent(JSON.stringify($(this).data("style"))));
149
  });
150
 
151
  //Pagination
152
+ $(document).on("click", ".tablenav-pages a", function() {
153
  replaceGET({ ppage: $(this).data("page") });
154
  return false;
155
  });
156
 
157
+ $(document).on("change", ".current-page", function() {
158
  var start = $(".first-page").data("page");
159
  var end = $(".last-page").data("page");
160
  var page = parseInt($(this).val(), 10);
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: atmistinc
3
  Donate link: https://snazzymaps.com/about
4
  Tags: google,maps,google maps,styled maps,styles,color,schemes,themes
5
  Requires at least: 3.0
6
- Tested up to: 5.3
7
- Stable tag: 1.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -98,6 +98,11 @@ If you happen to find any other map plugins that don't work please send us an em
98
 
99
  == Changelog ==
100
 
 
 
 
 
 
101
  = 1.2.1 =
102
  Release Date: November 27th, 2019
103
 
3
  Donate link: https://snazzymaps.com/about
4
  Tags: google,maps,google maps,styled maps,styles,color,schemes,themes
5
  Requires at least: 3.0
6
+ Tested up to: 5.5.1
7
+ Stable tag: 1.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
98
 
99
  == Changelog ==
100
 
101
+ = 1.3.0 =
102
+ Release Date: October 4th, 2020
103
+
104
+ * Update: Minor changes to ensure that the plugin works with newer versions of WordPress up to 5.5.1.
105
+
106
  = 1.2.1 =
107
  Release Date: November 27th, 2019
108
 
snazzymaps.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Snazzy Maps
4
  * Plugin URI: https://snazzymaps.com/plugins
5
  * Description: Apply styles to your Google Maps with the official Snazzy Maps WordPress plugin.
6
- * Version: 1.2.1
7
  * Author: Snazzy Maps
8
  * Author URI: https://snazzymaps.com
9
  * License: GPL2
@@ -30,7 +30,7 @@ defined( 'ABSPATH' ) OR exit;
30
  //This API key is used to explore the styles in snazzy maps
31
  define('SNAZZY_MAPS_API_BASE', 'https://snazzymaps.com/');
32
  define('SNAZZY_MAPS_API_KEY', 'ecaccc3c-44fa-486c-9503-5d473587a493');
33
- define('SNAZZY_MAPS_VERSION_NUMBER', '1.2.1');
34
 
35
  if(!defined('_DS')) {
36
  define('_DS', '/');
3
  * Plugin Name: Snazzy Maps
4
  * Plugin URI: https://snazzymaps.com/plugins
5
  * Description: Apply styles to your Google Maps with the official Snazzy Maps WordPress plugin.
6
+ * Version: 1.3.0
7
  * Author: Snazzy Maps
8
  * Author URI: https://snazzymaps.com
9
  * License: GPL2
30
  //This API key is used to explore the styles in snazzy maps
31
  define('SNAZZY_MAPS_API_BASE', 'https://snazzymaps.com/');
32
  define('SNAZZY_MAPS_API_KEY', 'ecaccc3c-44fa-486c-9503-5d473587a493');
33
+ define('SNAZZY_MAPS_VERSION_NUMBER', '1.3.0');
34
 
35
  if(!defined('_DS')) {
36
  define('_DS', '/');