Version Description
- Fixed: check for wp-config settings preventing file changes
Download this release
Release Info
Developer | chrisvrichardson |
Plugin | MapPress Easy Google Maps |
Version | 2.73.14 |
Comparing to | |
See all releases |
Code changes from version 2.73.13 to 2.73.14
- languages/mappress-google-maps-for-wordpress.pot +2 -2
- mappress.php +2 -2
- mappress_template.php +4 -1
- readme.txt +4 -1
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.73.
|
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: 2022-02-23T17:
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
|
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.73.14\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: 2022-02-23T17:44:08+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
|
mappress.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: MapPress Maps for WordPress
|
|
4 |
Plugin URI: https://www.mappresspro.com
|
5 |
Author URI: https://www.mappresspro.com
|
6 |
Description: MapPress makes it easy to add Google and Leaflet Maps to WordPress
|
7 |
-
Version: 2.73.
|
8 |
Author: Chris Richardson
|
9 |
Text Domain: mappress-google-maps-for-wordpress
|
10 |
Thanks to all the translators and to Scott DeJonge for his wonderful icons
|
@@ -36,7 +36,7 @@ if (is_dir(dirname( __FILE__ ) . '/pro')) {
|
|
36 |
}
|
37 |
|
38 |
class Mappress {
|
39 |
-
const VERSION = '2.73.
|
40 |
|
41 |
static
|
42 |
$baseurl,
|
4 |
Plugin URI: https://www.mappresspro.com
|
5 |
Author URI: https://www.mappresspro.com
|
6 |
Description: MapPress makes it easy to add Google and Leaflet Maps to WordPress
|
7 |
+
Version: 2.73.14
|
8 |
Author: Chris Richardson
|
9 |
Text Domain: mappress-google-maps-for-wordpress
|
10 |
Thanks to all the translators and to Scott DeJonge for his wonderful icons
|
36 |
}
|
37 |
|
38 |
class Mappress {
|
39 |
+
const VERSION = '2.73.14';
|
40 |
|
41 |
static
|
42 |
$baseurl,
|
mappress_template.php
CHANGED
@@ -90,7 +90,10 @@ class Mappress_Template extends Mappress_Obj {
|
|
90 |
|
91 |
static function ajax_save() {
|
92 |
check_ajax_referer('mappress', 'nonce');
|
93 |
-
|
|
|
|
|
|
|
94 |
if ((defined('DISALLOW_FILE_EDIT') && DISALLOW_FILE_EDIT) || defined('DISALLOW_FILE_MODS') && DISALLOW_FILE_MODS)
|
95 |
Mappress::ajax_response('Unable to save, DISALLOW_FILE_EDIT or DISALLOW_FILE_MODS has been set in wp-config');
|
96 |
|
90 |
|
91 |
static function ajax_save() {
|
92 |
check_ajax_referer('mappress', 'nonce');
|
93 |
+
|
94 |
+
if (!current_user_can('manage_options'))
|
95 |
+
Mappress::ajax_response('Not authorized');
|
96 |
+
|
97 |
if ((defined('DISALLOW_FILE_EDIT') && DISALLOW_FILE_EDIT) || defined('DISALLOW_FILE_MODS') && DISALLOW_FILE_MODS)
|
98 |
Mappress::ajax_response('Unable to save, DISALLOW_FILE_EDIT or DISALLOW_FILE_MODS has been set in wp-config');
|
99 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: maps, google maps, map, map markers, google map, leaflet maps, leaflet map
|
|
5 |
Requires at least: 5.3
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.9
|
8 |
-
Stable tag: 2.73.
|
9 |
|
10 |
== Description ==
|
11 |
MapPress is the easiest way to add beautiful interactive Google and Leaflet maps to WordPress.
|
@@ -89,6 +89,9 @@ Please see the plugin documentation pages:
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
92 |
= 2.73.13 =
|
93 |
* Fixed: check for wp-config settings preventing file changes
|
94 |
|
5 |
Requires at least: 5.3
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.9
|
8 |
+
Stable tag: 2.73.14
|
9 |
|
10 |
== Description ==
|
11 |
MapPress is the easiest way to add beautiful interactive Google and Leaflet maps to WordPress.
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
+
= 2.73.14 =
|
93 |
+
* Fixed: check for wp-config settings preventing file changes
|
94 |
+
|
95 |
= 2.73.13 =
|
96 |
* Fixed: check for wp-config settings preventing file changes
|
97 |
|