Version Description
- Fixed issue when editing maps and reached the limit.
Download this release
Release Info
Developer | codeinwp |
Plugin | Google Maps Plugin by Intergeo |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- CHANGELOG.md +4 -2
- css/frontend.css +1 -1
- images/ui-icons.png +0 -0
- index.php +3 -3
- languages/intergeo-maps.pot +3 -3
- readme.txt +5 -0
- templates/iframe/form.php +1 -1
CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
|
|
|
|
|
|
|
2 |
-
|
3 |
|
4 |
|
5 |
|
6 |
-
Fixed compat with other plugins who are using dashboard widget
|
1 |
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
|
7 |
|
8 |
|
|
css/frontend.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
* Version: 2.1.
|
3 |
*/
|
4 |
|
5 |
.intergeo_map_canvas img {
|
1 |
/*
|
2 |
+
* Version: 2.1.2
|
3 |
*/
|
4 |
|
5 |
.intergeo_map_canvas img {
|
images/ui-icons.png
CHANGED
Binary file
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Intergeo - Google Maps Plugin
|
4 |
Plugin URI: http://themeisle.com/plugins/intergeo-maps-lite/
|
5 |
Description: A simple, easy and quite powerful Google Map tool to create, manage and embed custom Google Maps into your WordPress posts and pages. The plugin allows you to deeply customize look and feel of a map, add overlays like markers, rectangles, circles, polylines and polygons to your map. It could even be integraded with your Google Adsense account and show ad on your maps.
|
6 |
-
Version: 2.1.
|
7 |
Author: Themeisle
|
8 |
Author URI: http://themeisle.com
|
9 |
License: GPL v2.0 or later
|
@@ -13,7 +13,7 @@ Domain Path: /languages
|
|
13 |
*/
|
14 |
// <editor-fold defaultstate="collapsed" desc="constants">
|
15 |
define( 'INTERGEO_PLUGIN_NAME', 'intergeo' ); // don't change it whatever
|
16 |
-
define( 'INTERGEO_VERSION', '2.1.
|
17 |
define( 'INTERGEO_ABSPATH', dirname( __FILE__ ) );
|
18 |
define( 'INTERGEO_ABSURL', plugins_url( '/', __FILE__ ) );
|
19 |
defined( 'WPLANG' ) || define( 'WPLANG', '' );
|
@@ -1376,7 +1376,7 @@ function intergeo_is_agency() {
|
|
1376 |
}
|
1377 |
function intergeo_check_maps_number() {
|
1378 |
$maps = intergeo_get_maps();
|
1379 |
-
if ( $maps <
|
1380 |
return true;
|
1381 |
}
|
1382 |
if ( $maps > 0 && $maps < 11 ) {
|
3 |
Plugin Name: Intergeo - Google Maps Plugin
|
4 |
Plugin URI: http://themeisle.com/plugins/intergeo-maps-lite/
|
5 |
Description: A simple, easy and quite powerful Google Map tool to create, manage and embed custom Google Maps into your WordPress posts and pages. The plugin allows you to deeply customize look and feel of a map, add overlays like markers, rectangles, circles, polylines and polygons to your map. It could even be integraded with your Google Adsense account and show ad on your maps.
|
6 |
+
Version: 2.1.2
|
7 |
Author: Themeisle
|
8 |
Author URI: http://themeisle.com
|
9 |
License: GPL v2.0 or later
|
13 |
*/
|
14 |
// <editor-fold defaultstate="collapsed" desc="constants">
|
15 |
define( 'INTERGEO_PLUGIN_NAME', 'intergeo' ); // don't change it whatever
|
16 |
+
define( 'INTERGEO_VERSION', '2.1.2' );
|
17 |
define( 'INTERGEO_ABSPATH', dirname( __FILE__ ) );
|
18 |
define( 'INTERGEO_ABSURL', plugins_url( '/', __FILE__ ) );
|
19 |
defined( 'WPLANG' ) || define( 'WPLANG', '' );
|
1376 |
}
|
1377 |
function intergeo_check_maps_number() {
|
1378 |
$maps = intergeo_get_maps();
|
1379 |
+
if ( $maps < 3 ) {
|
1380 |
return true;
|
1381 |
}
|
1382 |
if ( $maps > 0 && $maps < 11 ) {
|
languages/intergeo-maps.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL v2.0 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Intergeo - Google Maps Plugin 2.1.
|
6 |
-
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/intergeo-maps/issues\n"
|
7 |
-
"POT-Creation-Date: 2017-01-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the GPL v2.0 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Intergeo - Google Maps Plugin 2.1.1\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/intergeo-maps/issues\n"
|
7 |
+
"POT-Creation-Date: 2017-01-22 13:01:21+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -129,6 +129,11 @@ function filter_intergeo_map_settings( $options ) {
|
|
129 |
|
130 |
== Changelog ==
|
131 |
|
|
|
|
|
|
|
|
|
|
|
132 |
= 2.0.0 =
|
133 |
|
134 |
* Major code refactor
|
129 |
|
130 |
== Changelog ==
|
131 |
|
132 |
+
|
133 |
+
= 2.1.2 =
|
134 |
+
|
135 |
+
* Fixed issue when editing maps and reached the limit.
|
136 |
+
|
137 |
= 2.0.0 =
|
138 |
|
139 |
* Major code refactor
|
templates/iframe/form.php
CHANGED
@@ -39,7 +39,7 @@
|
|
39 |
</div>
|
40 |
<div id="intergeo_footer">
|
41 |
<a id="intergeo_go_to_address" class="button button-large" href="javascript:;"><?php esc_html_e( 'Go to address', 'intergeo-maps' ) ?></a>
|
42 |
-
<?php if ( intergeo_check_maps_number() ) : ?>
|
43 |
<input type="submit" class="button button-primary button-large" value="<?php echo $submit_text ?>">
|
44 |
<?php else : ?>
|
45 |
<a target="_blank" href="<?php echo INTERGEO_PRO_URL; ?>" class="intergeo-pro-btn button"><?php _e( 'Buy PRO version to add more maps', 'intergeo-maps' ) ?></a>
|
39 |
</div>
|
40 |
<div id="intergeo_footer">
|
41 |
<a id="intergeo_go_to_address" class="button button-large" href="javascript:;"><?php esc_html_e( 'Go to address', 'intergeo-maps' ) ?></a>
|
42 |
+
<?php if ( intergeo_check_maps_number() || $map_id ) : ?>
|
43 |
<input type="submit" class="button button-primary button-large" value="<?php echo $submit_text ?>">
|
44 |
<?php else : ?>
|
45 |
<a target="_blank" href="<?php echo INTERGEO_PRO_URL; ?>" class="intergeo-pro-btn button"><?php _e( 'Buy PRO version to add more maps', 'intergeo-maps' ) ?></a>
|