MapPress Easy Google Maps - Version 2.54.5

Version Description

  • Fixed: error is media JS on post/page list screen
Download this release

Release Info

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

Code changes from version 2.54.4 to 2.54.5

languages/mappress-google-maps-for-wordpress.pot CHANGED
@@ -2,14 +2,14 @@
2
# This file is distributed under the same license as the MapPress Maps for WordPress plugin.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: MapPress Maps for WordPress 2.54.4\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
"Language-Team: LANGUAGE <LL@li.org>\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=UTF-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2020-05-02T00:25:47+00:00\n"
13
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
"X-Generator: WP-CLI 2.4.0\n"
15
@@ -147,7 +147,7 @@ msgid "Editor"
147
msgstr ""
148
149
#: forms/settings.php:14
150
- #: mappress_settings.php:178
151
#: pro/mappress_pro_settings.php:219
152
msgid "Default"
153
msgstr ""
@@ -267,7 +267,7 @@ msgid "Add"
267
msgstr ""
268
269
#: mappress_map.php:90
270
- #: mappress_settings.php:321
271
msgid "MapPress"
272
msgstr ""
273
@@ -280,233 +280,233 @@ msgstr ""
280
msgid "Filter"
281
msgstr ""
282
283
- #: mappress_settings.php:85
284
msgid "Sample Map"
285
msgstr ""
286
287
- #: mappress_settings.php:87
288
msgid "Basic Settings"
289
msgstr ""
290
291
- #: mappress_settings.php:88
292
msgid "Mapping Engine"
293
msgstr ""
294
295
- #: mappress_settings.php:91
296
msgid "Mapbox access token"
297
msgstr ""
298
299
- #: mappress_settings.php:93
300
msgid "Google API key"
301
msgstr ""
302
303
- #: mappress_settings.php:98
304
msgid "License"
305
msgstr ""
306
307
- #: mappress_settings.php:100
308
msgid "Map Settings"
309
msgstr ""
310
311
- #: mappress_settings.php:101
312
msgid "Post types"
313
msgstr ""
314
315
- #: mappress_settings.php:102
316
msgid "Automatic display"
317
msgstr ""
318
319
- #: mappress_settings.php:103
320
msgid "Map alignment"
321
msgstr ""
322
323
- #: mappress_settings.php:104
324
#: templates/map-popup.php:3
325
#: templates/mashup-popup.php:6
326
msgid "Directions"
327
msgstr ""
328
329
- #: mappress_settings.php:107
330
msgid "POI Settings"
331
msgstr ""
332
333
- #: mappress_settings.php:108
334
msgid "Default zoom"
335
msgstr ""
336
337
- #: mappress_settings.php:109
338
- #: mappress_settings.php:243
339
msgid "Open first POI"
340
msgstr ""
341
342
- #: mappress_settings.php:112
343
msgid "Mashups"
344
msgstr ""
345
346
- #: mappress_settings.php:113
347
msgid "Icons"
348
msgstr ""
349
350
- #: mappress_settings.php:114
351
msgid "Styled Maps"
352
msgstr ""
353
354
- #: mappress_settings.php:115
355
msgid "Geocoding"
356
msgstr ""
357
358
- #: mappress_settings.php:116
359
msgid "Templates"
360
msgstr ""
361
362
- #: mappress_settings.php:119
363
msgid "Localization"
364
msgstr ""
365
366
- #: mappress_settings.php:120
367
msgid "Language"
368
msgstr ""
369
370
- #: mappress_settings.php:121
371
msgid "Country"
372
msgstr ""
373
374
- #: mappress_settings.php:122
375
msgid "Directions server"
376
msgstr ""
377
378
- #: mappress_settings.php:124
379
msgid "Miscellaneous"
380
msgstr ""
381
382
- #: mappress_settings.php:126
383
msgid "Compatiblity"
384
msgstr ""
385
386
- #: mappress_settings.php:127
387
msgid "Scripts"
388
msgstr ""
389
390
- #: mappress_settings.php:128
391
msgid "Map sizes"
392
msgstr ""
393
394
- #: mappress_settings.php:179
395
msgid "Center"
396
msgstr ""
397
398
- #: mappress_settings.php:180
399
msgid "Left"
400
msgstr ""
401
402
- #: mappress_settings.php:181
403
msgid "Right"
404
msgstr ""
405
406
- #: mappress_settings.php:195
407
msgid "Top of post"
408
msgstr ""
409
410
- #: mappress_settings.php:196
411
msgid "Bottom of post"
412
msgstr ""
413
414
- #: mappress_settings.php:197
415
msgid "None"
416
msgstr ""
417
418
- #: mappress_settings.php:204
419
- #: mappress_settings.php:248
420
msgid "(list)"
421
msgstr ""
422
423
- #: mappress_settings.php:209
424
msgid "Country code for searches"
425
msgstr ""
426
427
- #: mappress_settings.php:213
428
msgid "Prevent other plugins/themes from loading the Google Maps API"
429
msgstr ""
430
431
- #: mappress_settings.php:217
432
- #: mappress_settings.php:226
433
msgid "Google"
434
msgstr ""
435
436
- #: mappress_settings.php:217
437
msgid "Inline"
438
msgstr ""
439
440
- #: mappress_settings.php:226
441
msgid "Leaflet"
442
msgstr ""
443
444
- #: mappress_settings.php:228
445
msgid "Leaflet is free and requires no API key. Google requires an API key and has strict usage limits."
446
msgstr ""
447
448
- #: mappress_settings.php:234
449
- #: mappress_settings.php:237
450
msgid "Output scripts in footer"
451
msgstr ""
452
453
- #: mappress_settings.php:235
454
msgid "Disabled because Jetpack Infinite Scroll is active"
455
msgstr ""
456
457
- #: mappress_settings.php:238
458
msgid "disable if maps are output using AJAX"
459
msgstr ""
460
461
- #: mappress_settings.php:251
462
msgid "Language for map controls"
463
msgstr ""
464
465
- #: mappress_settings.php:255
466
msgid "Enter token to use Mapbox map tiles"
467
msgstr ""
468
469
- #: mappress_settings.php:262
470
- #: mappress_settings.php:267
471
msgid "Map type control"
472
msgstr ""
473
474
- #: mappress_settings.php:263
475
msgid "Street view control"
476
msgstr ""
477
478
- #: mappress_settings.php:264
479
- #: mappress_settings.php:268
480
msgid "Zoom control"
481
msgstr ""
482
483
- #: mappress_settings.php:283
484
msgid "Default zoom when displaying a single POI"
485
msgstr ""
486
487
- #: mappress_settings.php:296
488
msgid "Easy Google Maps"
489
msgstr ""
490
491
- #: mappress_settings.php:304
492
msgid "Width (px or %)"
493
msgstr ""
494
495
- #: mappress_settings.php:304
496
msgid "Height (px)"
497
msgstr ""
498
499
- #: mappress_settings.php:304
500
msgid "Default size"
501
msgstr ""
502
503
- #: mappress_settings.php:326
504
- #: mappress_settings.php:334
505
msgid "Save Changes"
506
msgstr ""
507
508
- #: mappress_settings.php:327
509
- #: mappress_settings.php:335
510
msgid "Reset Defaults"
511
msgstr ""
512
2
# This file is distributed under the same license as the MapPress Maps for WordPress plugin.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: MapPress Maps for WordPress 2.54.5\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
"Language-Team: LANGUAGE <LL@li.org>\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=UTF-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2020-05-04T19:55:13+00:00\n"
13
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
"X-Generator: WP-CLI 2.4.0\n"
15
147
msgstr ""
148
149
#: forms/settings.php:14
150
+ #: mappress_settings.php:177
151
#: pro/mappress_pro_settings.php:219
152
msgid "Default"
153
msgstr ""
267
msgstr ""
268
269
#: mappress_map.php:90
270
+ #: mappress_settings.php:320
271
msgid "MapPress"
272
msgstr ""
273
280
msgid "Filter"
281
msgstr ""
282
283
+ #: mappress_settings.php:84
284
msgid "Sample Map"
285
msgstr ""
286
287
+ #: mappress_settings.php:86
288
msgid "Basic Settings"
289
msgstr ""
290
291
+ #: mappress_settings.php:87
292
msgid "Mapping Engine"
293
msgstr ""
294
295
+ #: mappress_settings.php:90
296
msgid "Mapbox access token"
297
msgstr ""
298
299
+ #: mappress_settings.php:92
300
msgid "Google API key"
301
msgstr ""
302
303
+ #: mappress_settings.php:97
304
msgid "License"
305
msgstr ""
306
307
+ #: mappress_settings.php:99
308
msgid "Map Settings"
309
msgstr ""
310
311
+ #: mappress_settings.php:100
312
msgid "Post types"
313
msgstr ""
314
315
+ #: mappress_settings.php:101
316
msgid "Automatic display"
317
msgstr ""
318
319
+ #: mappress_settings.php:102
320
msgid "Map alignment"
321
msgstr ""
322
323
+ #: mappress_settings.php:103
324
#: templates/map-popup.php:3
325
#: templates/mashup-popup.php:6
326
msgid "Directions"
327
msgstr ""
328
329
+ #: mappress_settings.php:106
330
msgid "POI Settings"
331
msgstr ""
332
333
+ #: mappress_settings.php:107
334
msgid "Default zoom"
335
msgstr ""
336
337
+ #: mappress_settings.php:108
338
+ #: mappress_settings.php:242
339
msgid "Open first POI"
340
msgstr ""
341
342
+ #: mappress_settings.php:111
343
msgid "Mashups"
344
msgstr ""
345
346
+ #: mappress_settings.php:112
347
msgid "Icons"
348
msgstr ""
349
350
+ #: mappress_settings.php:113
351
msgid "Styled Maps"
352
msgstr ""
353
354
+ #: mappress_settings.php:114
355
msgid "Geocoding"
356
msgstr ""
357
358
+ #: mappress_settings.php:115
359
msgid "Templates"
360
msgstr ""
361
362
+ #: mappress_settings.php:118
363
msgid "Localization"
364
msgstr ""
365
366
+ #: mappress_settings.php:119
367
msgid "Language"
368
msgstr ""
369
370
+ #: mappress_settings.php:120
371
msgid "Country"
372
msgstr ""
373
374
+ #: mappress_settings.php:121
375
msgid "Directions server"
376
msgstr ""
377
378
+ #: mappress_settings.php:123
379
msgid "Miscellaneous"
380
msgstr ""
381
382
+ #: mappress_settings.php:125
383
msgid "Compatiblity"
384
msgstr ""
385
386
+ #: mappress_settings.php:126
387
msgid "Scripts"
388
msgstr ""
389
390
+ #: mappress_settings.php:127
391
msgid "Map sizes"
392
msgstr ""
393
394
+ #: mappress_settings.php:178
395
msgid "Center"
396
msgstr ""
397
398
+ #: mappress_settings.php:179
399
msgid "Left"
400
msgstr ""
401
402
+ #: mappress_settings.php:180
403
msgid "Right"
404
msgstr ""
405
406
+ #: mappress_settings.php:194
407
msgid "Top of post"
408
msgstr ""
409
410
+ #: mappress_settings.php:195
411
msgid "Bottom of post"
412
msgstr ""
413
414
+ #: mappress_settings.php:196
415
msgid "None"
416
msgstr ""
417
418
+ #: mappress_settings.php:203
419
+ #: mappress_settings.php:247
420
msgid "(list)"
421
msgstr ""
422
423
+ #: mappress_settings.php:208
424
msgid "Country code for searches"
425
msgstr ""
426
427
+ #: mappress_settings.php:212
428
msgid "Prevent other plugins/themes from loading the Google Maps API"
429
msgstr ""
430
431
+ #: mappress_settings.php:216
432
+ #: mappress_settings.php:225
433
msgid "Google"
434
msgstr ""
435
436
+ #: mappress_settings.php:216
437
msgid "Inline"
438
msgstr ""
439
440
+ #: mappress_settings.php:225
441
msgid "Leaflet"
442
msgstr ""
443
444
+ #: mappress_settings.php:227
445
msgid "Leaflet is free and requires no API key. Google requires an API key and has strict usage limits."
446
msgstr ""
447
448
+ #: mappress_settings.php:233
449
+ #: mappress_settings.php:236
450
msgid "Output scripts in footer"
451
msgstr ""
452
453
+ #: mappress_settings.php:234
454
msgid "Disabled because Jetpack Infinite Scroll is active"
455
msgstr ""
456
457
+ #: mappress_settings.php:237
458
msgid "disable if maps are output using AJAX"
459
msgstr ""
460
461
+ #: mappress_settings.php:250
462
msgid "Language for map controls"
463
msgstr ""
464
465
+ #: mappress_settings.php:254
466
msgid "Enter token to use Mapbox map tiles"
467
msgstr ""
468
469
+ #: mappress_settings.php:261
470
+ #: mappress_settings.php:266
471
msgid "Map type control"
472
msgstr ""
473
474
+ #: mappress_settings.php:262
475
msgid "Street view control"
476
msgstr ""
477
478
+ #: mappress_settings.php:263
479
+ #: mappress_settings.php:267
480
msgid "Zoom control"
481
msgstr ""
482
483
+ #: mappress_settings.php:282
484
msgid "Default zoom when displaying a single POI"
485
msgstr ""
486
487
+ #: mappress_settings.php:295
488
msgid "Easy Google Maps"
489
msgstr ""
490
491
+ #: mappress_settings.php:303
492
msgid "Width (px or %)"
493
msgstr ""
494
495
+ #: mappress_settings.php:303
496
msgid "Height (px)"
497
msgstr ""
498
499
+ #: mappress_settings.php:303
500
msgid "Default size"
501
msgstr ""
502
503
+ #: mappress_settings.php:325
504
+ #: mappress_settings.php:333
505
msgid "Save Changes"
506
msgstr ""
507
508
+ #: mappress_settings.php:326
509
+ #: mappress_settings.php:334
510
msgid "Reset Defaults"
511
msgstr ""
512
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.54.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,7 +35,7 @@ if (is_dir(dirname( __FILE__ ) . '/pro')) {
35
}
36
37
class Mappress {
38
- const VERSION = '2.54.4';
39
40
static
41
$baseurl,
@@ -115,7 +115,7 @@ class Mappress {
115
if (empty(self::$pages))
116
return;
117
118
- $editing = in_array($hook, array('edit.php', 'post.php', 'post-new.php'));
119
120
if ($editing)
121
self::scripts_enqueue('editor');
@@ -499,7 +499,7 @@ class Mappress {
499
}
500
501
// Global settings
502
- $options = array('autoupdate', 'country', 'defaultIcon', 'directions', 'directionsServer', 'engine', 'geocoder', 'iconScale', 'iwType', 'mashupBody', 'mashupClick', 'poiZoom', 'radius', 'search', 'size', 'sizes', 'style', 'tiles');
503
foreach($options as $option)
504
$l10n['options'][$option] = self::$options->$option;
505
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.54.5
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.54.5';
39
40
static
41
$baseurl,
115
if (empty(self::$pages))
116
return;
117
118
+ $editing = in_array($hook, array('post.php', 'post-new.php'));
119
120
if ($editing)
121
self::scripts_enqueue('editor');
499
}
500
501
// Global settings
502
+ $options = array('autoupdate', 'country', 'defaultIcon', 'directions', 'directionsServer', 'engine', 'geocoder', 'iconScale', 'iwType', 'mashupBody', 'mashupClick', 'poiZoom', 'radius', 'search', 'size', 'sizes', 'style');
503
foreach($options as $option)
504
$l10n['options'][$option] = self::$options->$option;
505
mappress_settings.php CHANGED
@@ -47,8 +47,7 @@ class Mappress_Options extends Mappress_Obj {
47
$thumbs = true,
48
$thumbSize,
49
$thumbWidth = 64,
50
- $thumbHeight = 64,
51
- $tiles = 'google'
52
;
53
54
function __construct($options = '') {
47
$thumbs = true,
48
$thumbSize,
49
$thumbWidth = 64,
50
+ $thumbHeight = 64
51
;
52
53
function __construct($options = '') {
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.9
7
- Stable tag: 2.54.4
8
9
== Description ==
10
MapPress adds beautiful, interactive Google or Leaflet maps to WordPress.
@@ -86,6 +86,9 @@ Please see the plugin documentation pages:
86
87
== Changelog ==
88
89
= 2.54.4 =
90
* Added: authorization checks added for saving maps ('edit_posts') and templates ('manage_options')
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.5
7
+ Stable tag: 2.54.5
8
9
== Description ==
10
MapPress adds beautiful, interactive Google or Leaflet maps to WordPress.
86
87
== Changelog ==
88
89
+ = 2.54.5 =
90
+ * Fixed: error is media JS on post/page list screen
91
+
92
= 2.54.4 =
93
* Added: authorization checks added for saving maps ('edit_posts') and templates ('manage_options')
94