MapPress Easy Google Maps - Version 2.52.4

Version Description

  • Added: a 'check now' button has been added to the settings screen to force license check
  • Fixed: priority was too high for default 'mappress_poi_props' filter
Download this release

Release Info

Developer chrisvrichardson
Plugin Icon 128x128 MapPress Easy Google Maps
Version 2.52.4
Comparing to
See all releases

Code changes from version 2.52.3 to 2.52.4

css/mappress_admin.css CHANGED
@@ -212,6 +212,12 @@ input.mapp-media-title {
212
margin-top: 10px;
213
}
214
215
/* Simulate postboxes */
216
.mapp-settings-screen h2 {
217
background-color: white;
212
margin-top: 10px;
213
}
214
215
+ /* Hidden submit buttons to use as form default */
216
+ .mapp-settings-hidden-toolbar {
217
+ height: 0;
218
+ overflow: hidden;
219
+ }
220
+
221
/* Simulate postboxes */
222
.mapp-settings-screen h2 {
223
background-color: white;
languages/mappress-google-maps-for-wordpress.pot CHANGED
@@ -2,9 +2,9 @@
2
# This file is distributed under the same license as the MapPress Maps for WordPress package.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: MapPress Maps for WordPress 2.52.3\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
- "POT-Creation-Date: 2019-03-15 21:16:36+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
@@ -442,11 +442,11 @@ msgstr ""
442
msgid "Default size"
443
msgstr ""
444
445
- #: mappress_settings.php:311
446
msgid "Save Changes"
447
msgstr ""
448
449
- #: mappress_settings.php:312
450
msgid "Reset Defaults"
451
msgstr ""
452
@@ -479,7 +479,7 @@ msgid "custom field"
479
msgstr ""
480
481
#: pro/mappress_filter.php:93 pro/mappress_filter.php:142
482
- #: pro/mappress_pro_settings.php:142
483
msgid "Post type"
484
msgstr ""
485
@@ -491,7 +491,7 @@ msgstr ""
491
msgid "Post field"
492
msgstr ""
493
494
- #: pro/mappress_filter.php:129 pro/mappress_pro_settings.php:282
495
msgid "Custom Field"
496
msgstr ""
497
@@ -623,207 +623,211 @@ msgstr ""
623
msgid "Force resize"
624
msgstr ""
625
626
- #: pro/mappress_pro_settings.php:129
627
msgid "more info"
628
msgstr ""
629
630
- #: pro/mappress_pro_settings.php:130
631
msgid "API key secured by IP address for geocoding (optional)"
632
msgstr ""
633
634
- #: pro/mappress_pro_settings.php:149
635
msgid "Value"
636
msgstr ""
637
638
- #: pro/mappress_pro_settings.php:149 pro/mappress_pro_settings.php:277
639
msgid "Icon"
640
msgstr ""
641
642
- #: pro/mappress_pro_settings.php:164
643
msgid "Enable updates for beta versions"
644
msgstr ""
645
646
- #: pro/mappress_pro_settings.php:177
647
msgid "Checkboxes"
648
msgstr ""
649
650
- #: pro/mappress_pro_settings.php:177
651
msgid "Select"
652
msgstr ""
653
654
- #: pro/mappress_pro_settings.php:184
655
msgid "Key"
656
msgstr ""
657
658
- #: pro/mappress_pro_settings.php:184
659
msgid "Format"
660
msgstr ""
661
662
- #: pro/mappress_pro_settings.php:199
663
msgid "Permanently resize existing maps"
664
msgstr ""
665
666
- #: pro/mappress_pro_settings.php:201
667
msgid "from %s to %s"
668
msgstr ""
669
670
- #: pro/mappress_pro_settings.php:202
671
msgid "Force Resize"
672
msgstr ""
673
674
- #: pro/mappress_pro_settings.php:215
675
msgid "Standard"
676
msgstr ""
677
678
- #: pro/mappress_pro_settings.php:216
679
msgid "InfoBox"
680
msgstr ""
681
682
- #: pro/mappress_pro_settings.php:223
683
msgid "Below map"
684
msgstr ""
685
686
- #: pro/mappress_pro_settings.php:224
687
msgid "Left of map"
688
msgstr ""
689
690
- #: pro/mappress_pro_settings.php:230
691
msgid "Enter license to enable automatic updates"
692
msgstr ""
693
694
- #: pro/mappress_pro_settings.php:240
695
- msgid "Communication error, please try again later"
696
msgstr ""
697
698
- #: pro/mappress_pro_settings.php:242
699
- msgid "Active"
700
msgstr ""
701
702
- #: pro/mappress_pro_settings.php:244
703
msgid "License is invalid or expired"
704
msgstr ""
705
706
- #: pro/mappress_pro_settings.php:248
707
msgid "POI title + body"
708
msgstr ""
709
710
- #: pro/mappress_pro_settings.php:248
711
msgid "Post title + excerpt"
712
msgstr ""
713
714
- #: pro/mappress_pro_settings.php:253
715
msgid "Open POI"
716
msgstr ""
717
718
- #: pro/mappress_pro_settings.php:253
719
msgid "Open post"
720
msgstr ""
721
722
- #: pro/mappress_pro_settings.php:253
723
msgid "Open post in new tab"
724
msgstr ""
725
726
- #: pro/mappress_pro_settings.php:266
727
msgid "%d Errors"
728
msgstr ""
729
730
- #: pro/mappress_pro_settings.php:276
731
msgid "Address line "
732
msgstr ""
733
734
- #: pro/mappress_pro_settings.php:277
735
msgid "Latitude"
736
msgstr ""
737
738
- #: pro/mappress_pro_settings.php:277
739
msgid "Longitude"
740
msgstr ""
741
742
- #: pro/mappress_pro_settings.php:277
743
msgid "Title"
744
msgstr ""
745
746
- #: pro/mappress_pro_settings.php:277
747
msgid "Body"
748
msgstr ""
749
750
- #: pro/mappress_pro_settings.php:277
751
msgid "Zoom"
752
msgstr ""
753
754
- #: pro/mappress_pro_settings.php:282
755
msgid "Map Field"
756
msgstr ""
757
758
- #: pro/mappress_pro_settings.php:295
759
msgid "Overwrite maps when posts are saved"
760
msgstr ""
761
762
- #: pro/mappress_pro_settings.php:299
763
msgid "Show a list of POIs with each map"
764
msgstr ""
765
766
- #: pro/mappress_pro_settings.php:303
767
msgid "Enable search"
768
msgstr ""
769
770
- #: pro/mappress_pro_settings.php:307
771
msgid "Sort POI list by title"
772
msgstr ""
773
774
- #: pro/mappress_pro_settings.php:313
775
msgid "No styles have been defined yet"
776
msgstr ""
777
778
- #: pro/mappress_pro_settings.php:322
779
msgid "Styled Maps Wizard"
780
msgstr ""
781
782
- #: pro/mappress_pro_settings.php:323
783
msgid "JSON from Google's %s"
784
msgstr ""
785
786
- #: pro/mappress_pro_settings.php:327 pro/mappress_pro_settings.php:343
787
msgid "Style name"
788
msgstr ""
789
790
- #: pro/mappress_pro_settings.php:339
791
msgid "Mapbox Studio"
792
msgstr ""
793
794
- #: pro/mappress_pro_settings.php:340
795
msgid "Enter styles from %s"
796
msgstr ""
797
798
- #: pro/mappress_pro_settings.php:358
799
msgid "Only admins or multisite super-admins can edit templates"
800
msgstr ""
801
802
- #: pro/mappress_pro_settings.php:363
803
msgid "WordPress 4.9 or higher is needed to use the template editor."
804
msgstr ""
805
806
- #: pro/mappress_pro_settings.php:369
807
msgid "Map popup"
808
msgstr ""
809
810
- #: pro/mappress_pro_settings.php:370
811
msgid "Map list item"
812
msgstr ""
813
814
- #: pro/mappress_pro_settings.php:371
815
msgid "Mashup popup"
816
msgstr ""
817
818
- #: pro/mappress_pro_settings.php:372
819
msgid "Mashup list item"
820
msgstr ""
821
822
- #: pro/mappress_pro_settings.php:386
823
msgid "or "
824
msgstr ""
825
826
- #: pro/mappress_pro_settings.php:394
827
msgid "Show featured image thumbnails in mashup POIs"
828
msgstr ""
829
2
# This file is distributed under the same license as the MapPress Maps for WordPress package.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: MapPress Maps for WordPress 2.52.4\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
+ "POT-Creation-Date: 2019-03-24 21:42:40+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
442
msgid "Default size"
443
msgstr ""
444
445
+ #: mappress_settings.php:309 mappress_settings.php:317
446
msgid "Save Changes"
447
msgstr ""
448
449
+ #: mappress_settings.php:310 mappress_settings.php:318
450
msgid "Reset Defaults"
451
msgstr ""
452
479
msgstr ""
480
481
#: pro/mappress_filter.php:93 pro/mappress_filter.php:142
482
+ #: pro/mappress_pro_settings.php:147
483
msgid "Post type"
484
msgstr ""
485
491
msgid "Post field"
492
msgstr ""
493
494
+ #: pro/mappress_filter.php:129 pro/mappress_pro_settings.php:295
495
msgid "Custom Field"
496
msgstr ""
497
623
msgid "Force resize"
624
msgstr ""
625
626
+ #: pro/mappress_pro_settings.php:134
627
msgid "more info"
628
msgstr ""
629
630
+ #: pro/mappress_pro_settings.php:135
631
msgid "API key secured by IP address for geocoding (optional)"
632
msgstr ""
633
634
+ #: pro/mappress_pro_settings.php:154
635
msgid "Value"
636
msgstr ""
637
638
+ #: pro/mappress_pro_settings.php:154 pro/mappress_pro_settings.php:290
639
msgid "Icon"
640
msgstr ""
641
642
+ #: pro/mappress_pro_settings.php:169
643
msgid "Enable updates for beta versions"
644
msgstr ""
645
646
+ #: pro/mappress_pro_settings.php:182
647
msgid "Checkboxes"
648
msgstr ""
649
650
+ #: pro/mappress_pro_settings.php:182
651
msgid "Select"
652
msgstr ""
653
654
+ #: pro/mappress_pro_settings.php:189
655
msgid "Key"
656
msgstr ""
657
658
+ #: pro/mappress_pro_settings.php:189
659
msgid "Format"
660
msgstr ""
661
662
+ #: pro/mappress_pro_settings.php:204
663
msgid "Permanently resize existing maps"
664
msgstr ""
665
666
+ #: pro/mappress_pro_settings.php:206
667
msgid "from %s to %s"
668
msgstr ""
669
670
+ #: pro/mappress_pro_settings.php:207
671
msgid "Force Resize"
672
msgstr ""
673
674
+ #: pro/mappress_pro_settings.php:220
675
msgid "Standard"
676
msgstr ""
677
678
+ #: pro/mappress_pro_settings.php:221
679
msgid "InfoBox"
680
msgstr ""
681
682
+ #: pro/mappress_pro_settings.php:228
683
msgid "Below map"
684
msgstr ""
685
686
+ #: pro/mappress_pro_settings.php:229
687
msgid "Left of map"
688
msgstr ""
689
690
+ #: pro/mappress_pro_settings.php:235
691
msgid "Enter license to enable automatic updates"
692
msgstr ""
693
694
+ #: pro/mappress_pro_settings.php:246
695
+ msgid "Active"
696
msgstr ""
697
698
+ #: pro/mappress_pro_settings.php:251
699
+ msgid "Check Now"
700
msgstr ""
701
702
+ #: pro/mappress_pro_settings.php:255
703
+ msgid "Communication error, please try again later"
704
+ msgstr ""
705
+
706
+ #: pro/mappress_pro_settings.php:257
707
msgid "License is invalid or expired"
708
msgstr ""
709
710
+ #: pro/mappress_pro_settings.php:261
711
msgid "POI title + body"
712
msgstr ""
713
714
+ #: pro/mappress_pro_settings.php:261
715
msgid "Post title + excerpt"
716
msgstr ""
717
718
+ #: pro/mappress_pro_settings.php:266
719
msgid "Open POI"
720
msgstr ""
721
722
+ #: pro/mappress_pro_settings.php:266
723
msgid "Open post"
724
msgstr ""
725
726
+ #: pro/mappress_pro_settings.php:266
727
msgid "Open post in new tab"
728
msgstr ""
729
730
+ #: pro/mappress_pro_settings.php:279
731
msgid "%d Errors"
732
msgstr ""
733
734
+ #: pro/mappress_pro_settings.php:289
735
msgid "Address line "
736
msgstr ""
737
738
+ #: pro/mappress_pro_settings.php:290
739
msgid "Latitude"
740
msgstr ""
741
742
+ #: pro/mappress_pro_settings.php:290
743
msgid "Longitude"
744
msgstr ""
745
746
+ #: pro/mappress_pro_settings.php:290
747
msgid "Title"
748
msgstr ""
749
750
+ #: pro/mappress_pro_settings.php:290
751
msgid "Body"
752
msgstr ""
753
754
+ #: pro/mappress_pro_settings.php:290
755
msgid "Zoom"
756
msgstr ""
757
758
+ #: pro/mappress_pro_settings.php:295
759
msgid "Map Field"
760
msgstr ""
761
762
+ #: pro/mappress_pro_settings.php:308
763
msgid "Overwrite maps when posts are saved"
764
msgstr ""
765
766
+ #: pro/mappress_pro_settings.php:312
767
msgid "Show a list of POIs with each map"
768
msgstr ""
769
770
+ #: pro/mappress_pro_settings.php:316
771
msgid "Enable search"
772
msgstr ""
773
774
+ #: pro/mappress_pro_settings.php:320
775
msgid "Sort POI list by title"
776
msgstr ""
777
778
+ #: pro/mappress_pro_settings.php:326
779
msgid "No styles have been defined yet"
780
msgstr ""
781
782
+ #: pro/mappress_pro_settings.php:335
783
msgid "Styled Maps Wizard"
784
msgstr ""
785
786
+ #: pro/mappress_pro_settings.php:336
787
msgid "JSON from Google's %s"
788
msgstr ""
789
790
+ #: pro/mappress_pro_settings.php:340 pro/mappress_pro_settings.php:356
791
msgid "Style name"
792
msgstr ""
793
794
+ #: pro/mappress_pro_settings.php:352
795
msgid "Mapbox Studio"
796
msgstr ""
797
798
+ #: pro/mappress_pro_settings.php:353
799
msgid "Enter styles from %s"
800
msgstr ""
801
802
+ #: pro/mappress_pro_settings.php:371
803
msgid "Only admins or multisite super-admins can edit templates"
804
msgstr ""
805
806
+ #: pro/mappress_pro_settings.php:376
807
msgid "WordPress 4.9 or higher is needed to use the template editor."
808
msgstr ""
809
810
+ #: pro/mappress_pro_settings.php:382
811
msgid "Map popup"
812
msgstr ""
813
814
+ #: pro/mappress_pro_settings.php:383
815
msgid "Map list item"
816
msgstr ""
817
818
+ #: pro/mappress_pro_settings.php:384
819
msgid "Mashup popup"
820
msgstr ""
821
822
+ #: pro/mappress_pro_settings.php:385
823
msgid "Mashup list item"
824
msgstr ""
825
826
+ #: pro/mappress_pro_settings.php:399
827
msgid "or "
828
msgstr ""
829
830
+ #: pro/mappress_pro_settings.php:407
831
msgid "Show featured image thumbnails in mashup POIs"
832
msgstr ""
833
languages/texts.php CHANGED
@@ -168,8 +168,9 @@ __("InfoBox");
168
__("Below map");
169
__("Left of map");
170
__("Enter license to enable automatic updates");
171
- __("Communication error, please try again later");
172
__("Active");
173
__("License is invalid or expired");
174
__("POI title + body");
175
__("Post title + excerpt");
168
__("Below map");
169
__("Left of map");
170
__("Enter license to enable automatic updates");
171
__("Active");
172
+ __("Check Now");
173
+ __("Communication error, please try again later");
174
__("License is invalid or expired");
175
__("POI title + body");
176
__("Post title + excerpt");
mappress.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: MapPress Maps for WordPress
4
Plugin URI: https://www.mappresspro.com/mappress
5
Author URI: https://www.mappresspro.com/chris-contact
6
Description: MapPress makes it easy to add Google and Leaflet Maps to WordPress
7
- Version: 2.52.3
8
Author: Chris Richardson
9
Text Domain: mappress-google-maps-for-wordpress
10
Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
@@ -35,7 +35,7 @@ if (is_dir(dirname( __FILE__ ) . '/pro')) {
35
}
36
37
class Mappress {
38
- const VERSION = '2.52.3';
39
40
static
41
$baseurl,
4
Plugin URI: https://www.mappresspro.com/mappress
5
Author URI: https://www.mappresspro.com/chris-contact
6
Description: MapPress makes it easy to add Google and Leaflet Maps to WordPress
7
+ Version: 2.52.4
8
Author: Chris Richardson
9
Text Domain: mappress-google-maps-for-wordpress
10
Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
35
}
36
37
class Mappress {
38
+ const VERSION = '2.52.4';
39
40
static
41
$baseurl,
mappress_settings.php CHANGED
@@ -304,6 +304,12 @@ class Mappress_Settings {
304
<h1><?php _e('MapPress', 'mappress-google-maps-for-wordpress'); ?></h1>
305
<?php echo Mappress::get_support_links(); ?>
306
<form action="options.php" method="post">
307
<?php settings_fields('mappress'); ?>
308
<?php do_settings_sections('mappress'); ?>
309
304
<h1><?php _e('MapPress', 'mappress-google-maps-for-wordpress'); ?></h1>
305
<?php echo Mappress::get_support_links(); ?>
306
<form action="options.php" method="post">
307
+ <?php // Force default submit button ?>
308
+ <div class='mapp-settings-hidden-toolbar'>
309
+ <input name='save' type='submit' class='button button-primary' value='<?php _e("Save Changes", 'mappress-google-maps-for-wordpress'); ?>' />
310
+ <input name='reset_defaults' type='submit' class='button' value='<?php _e("Reset Defaults", 'mappress-google-maps-for-wordpress'); ?>' />
311
+ </div>
312
+
313
<?php settings_fields('mappress'); ?>
314
<?php do_settings_sections('mappress'); ?>
315
mappress_template.php CHANGED
@@ -19,7 +19,7 @@ class Mappress_Template extends Mappress_Obj {
19
add_action('wp_ajax_mapp_tpl_get', array(__CLASS__, 'ajax_get'));
20
add_action('wp_ajax_mapp_tpl_save', array(__CLASS__, 'ajax_save'));
21
add_action('wp_ajax_mapp_tpl_delete', array(__CLASS__, 'ajax_delete'));
22
- add_filter('mappress_poi_props', array(__CLASS__, 'filter_poi_props'), 10, 2);
23
24
self::$tokens = array(
25
'address' => __('address', 'mappress-google-maps-for-wordpress'),
19
add_action('wp_ajax_mapp_tpl_get', array(__CLASS__, 'ajax_get'));
20
add_action('wp_ajax_mapp_tpl_save', array(__CLASS__, 'ajax_save'));
21
add_action('wp_ajax_mapp_tpl_delete', array(__CLASS__, 'ajax_delete'));
22
+ add_filter('mappress_poi_props', array(__CLASS__, 'filter_poi_props'), 0, 3);
23
24
self::$tokens = array(
25
'address' => __('address', 'mappress-google-maps-for-wordpress'),
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: chrisvrichardson
3
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4339298
4
Tags: leaflet, openstreetmap, osm, mapbox, map box, google maps,google,map,maps,easy,poi,mapping,mapper,gps,lat,lon,latitude,longitude,geocoder,geocoding,georss,geo rss,geo,v3,marker,mashup,mash,api,v3,buddypress,mashup,geo,wp-geo,geo mashup,simplemap,simple,wpml
5
Requires at least: 4.5
6
- Tested up to: 5.1
7
- Stable tag: 2.52.3
8
9
== Description ==
10
MapPress adds beautiful, interactive Google or Leaflet maps to WordPress.
@@ -86,6 +86,10 @@ Please see the plugin documentation pages:
86
87
== Changelog ==
88
89
= 2.52.3 =
90
* Added: geocoding errors are now shown on the settings screen
91
3
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4339298
4
Tags: leaflet, openstreetmap, osm, mapbox, map box, google maps,google,map,maps,easy,poi,mapping,mapper,gps,lat,lon,latitude,longitude,geocoder,geocoding,georss,geo rss,geo,v3,marker,mashup,mash,api,v3,buddypress,mashup,geo,wp-geo,geo mashup,simplemap,simple,wpml
5
Requires at least: 4.5
6
+ Tested up to: 5.1.1
7
+ Stable tag: 2.52.4
8
9
== Description ==
10
MapPress adds beautiful, interactive Google or Leaflet maps to WordPress.
86
87
== Changelog ==
88
89
+ = 2.52.4 =
90
+ * Added: a 'check now' button has been added to the settings screen to force license check
91
+ * Fixed: priority was too high for default 'mappress_poi_props' filter
92
+
93
= 2.52.3 =
94
* Added: geocoding errors are now shown on the settings screen
95