Snazzy Maps - Version 1.0.1

Version Description

Release Date: March 17th, 2015

  • Bug Fix: Resolved the "headers already sent" issue that occurred when submitting POSTs with certain themes.
Download this release

Release Info

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

Code changes from version 1.0.0 to 1.0.1

Files changed (3) hide show
  1. admin/index.php +4 -2
  2. readme.txt +12 -3
  3. snazzymaps.php +1 -1
admin/index.php CHANGED
@@ -21,8 +21,10 @@ function admin_perform_post (){
21
  if($active_tab == 3){ admin_help_head(3); }
22
 
23
  //Redirect to the next page
24
- header('Location: '. $_SERVER['REQUEST_URI']);
25
- exit();
 
 
26
  }
27
  }
28
 
21
  if($active_tab == 3){ admin_help_head(3); }
22
 
23
  //Redirect to the next page
24
+ if(!headers_sent()){
25
+ header('Location: '. $_SERVER['REQUEST_URI']);
26
+ exit();
27
+ }
28
  }
29
  }
30
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://snazzymaps.com/about
4
  Tags: google,maps,google maps,styled maps,styles,color,schemes,themes
5
  Requires at least: 3.5
6
  Tested up to: 4.1
7
- Stable tag: 1.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -36,7 +36,7 @@ already have on your site.*
36
  1. Enjoy your newly styled Snazzy Maps!
37
 
38
  *Please note this plugin does not add a Google Map to your page. It simply adds styles to any existing maps that you
39
- have already added.*
40
 
41
  == Frequently Asked Questions ==
42
 
@@ -52,9 +52,13 @@ added a map yet, search [WordPress Plugins](https://wordpress.org/plugins) for a
52
 
53
  = Snazzy Maps doesn't work with my Google Maps plugin! =
54
 
55
- We've tested Snazzy Maps with several different Google Maps plugins. If you happen to find one that our plugin doesn't
56
  work with please send us an email at support@snazzymaps.com.
57
 
 
 
 
 
58
  = How can I access my favorites or private styles from SnazzyMaps.com? =
59
 
60
  1. Sign up for an account at [SnazzyMaps.com](https://snazzymaps.com).
@@ -73,6 +77,11 @@ work with please send us an email at support@snazzymaps.com.
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
76
  = 1.0.0 =
77
  Release Date: March 1st, 2015
78
 
4
  Tags: google,maps,google maps,styled maps,styles,color,schemes,themes
5
  Requires at least: 3.5
6
  Tested up to: 4.1
7
+ Stable tag: 1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
36
  1. Enjoy your newly styled Snazzy Maps!
37
 
38
  *Please note this plugin does not add a Google Map to your page. It simply adds styles to any existing maps that you
39
+ already have on your site.*
40
 
41
  == Frequently Asked Questions ==
42
 
52
 
53
  = Snazzy Maps doesn't work with my Google Maps plugin! =
54
 
55
+ We've tested Snazzy Maps with several different Google Maps plugins. If you happen to find one that our plugin doesn't
56
  work with please send us an email at support@snazzymaps.com.
57
 
58
+ Also, the Snazzy Maps plugin cannot apply styles to maps created using the Google Maps Embed API. This is because of
59
+ fundamental limitations on the way IFrames work on the web. We cannot access the map within Google's IFrame and cannot
60
+ apply any styles to it. Sorry! Switching to a WordPress plugin that uses Google's JavaScript API will work instead.
61
+
62
  = How can I access my favorites or private styles from SnazzyMaps.com? =
63
 
64
  1. Sign up for an account at [SnazzyMaps.com](https://snazzymaps.com).
77
 
78
  == Changelog ==
79
 
80
+ = 1.0.1 =
81
+ Release Date: March 17th, 2015
82
+
83
+ * Bug Fix: Resolved the "headers already sent" issue that occurred when submitting POSTs with certain themes.
84
+
85
  = 1.0.0 =
86
  Release Date: March 1st, 2015
87
 
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.0.0
7
  * Author: Atmist
8
  * Author URI: http://atmist.com/
9
  * License: GPL2
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.0.1
7
  * Author: Atmist
8
  * Author URI: http://atmist.com/
9
  * License: GPL2