Skip to content

Commit 895d24e

Browse files
committed
bugfix: wrong field name in element html
1 parent 95db510 commit 895d24e

4 files changed

+11
-3
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Adds a Fieldmanager_MapboxGL field which renders a Mapbox GL map on which you ca
1919

2020
### Changelog
2121

22+
#### 0.1.3
23+
* May 13th, 2016.
24+
* bugfix: wrong field name in element html
25+
2226
#### 0.1.2
2327
* May 13th, 2016.
2428
* implemented a better check for the closest marker

fieldmanager-mapboxgl.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Fieldmanager Mapbox GL
44
Plugin URI: https://github.com/aesqe/fm-mapboxgl
55
Description: A Mapbox GL field type for Fieldmanager
6-
Version: 0.1.2
6+
Version: 0.1.3
77
Author: Bruno "Aesqe" Babic
88
Author URI: http://skyphe.org
99
*/
@@ -12,7 +12,7 @@
1212
exit;
1313
}
1414

15-
define('FM_MAPBOXGL_VERSION', '0.1.2');
15+
define('FM_MAPBOXGL_VERSION', '0.1.3');
1616
define('FM_MAPBOXGL_PATH', plugin_dir_path(__FILE__));
1717
define('FM_MAPBOXGL_URL', plugin_dir_url(__FILE__) );
1818

php/class-fieldmanager-mapboxgl.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function form_element( $value )
6565
esc_attr($id),
6666
esc_attr($this->mapheight),
6767
esc_attr($this->mapwidth),
68-
esc_attr($this->name),
68+
esc_attr($this->get_form_name()),
6969
esc_attr($value),
7070
esc_attr($id)
7171
);

readme.txt

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Adds a Fieldmanager_MapboxGL field which renders a Mapbox GL map on which you ca
2727

2828
== Changelog ==
2929

30+
= 0.1.3 =
31+
* May 13th, 2016.
32+
* bugfix: wrong field name in element html
33+
3034
= 0.1.2 =
3135
* May 13th, 2016.
3236
* implemented a better check for the closest marker

0 commit comments

Comments
 (0)