Skip to content

Commit

Permalink
v1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
morehawes committed Jun 23, 2024
1 parent 275b7d0 commit 13b8eaa
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Waymark.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Waymark
Plugin URI: https://www.waymark.dev/
Description: Mapping with WordPress made easy. With Waymark enabled, click on the "Maps" link in the sidebar to create and edit Maps. Once you are happy with your Map, copy the Waymark shortcode and add it to your content.
Version: 1.3.1
Version: 1.3.2
Text Domain: waymark
Author: Joe Hawes
Author URI: https://www.morehawes.ca/
Expand Down
6 changes: 6 additions & 0 deletions inc/Helpers/Waymark_GeoJSON.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ static public function features_by_overlay_type($FeatureCollection = []) {
static public function remove_unwanted_overlay_properties($FeatureCollection = [], $wanted = []) {
if (is_string($FeatureCollection)) {
$FeatureCollection = self::string_to_feature_collection($FeatureCollection);

$do_stringify = true;
}

if (!sizeof($wanted)) {
Expand All @@ -193,6 +195,10 @@ static public function remove_unwanted_overlay_properties($FeatureCollection = [
}
}

if ($do_stringify) {
$FeatureCollection = self::feature_collection_to_string($FeatureCollection);
}

return $FeatureCollection;
}

Expand Down
2 changes: 1 addition & 1 deletion inc/Waymark_Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static function init() {
'plugin_name' => 'Waymark',
'plugin_name_short' => 'Waymark',
'custom_types' => array(),
'plugin_version' => '1.3.1',
'plugin_version' => '1.3.2',
'nonce_string' => 'Waymark_Nonce',
'site_url' => 'https://www.waymark.dev/',
'directory_url' => 'https://wordpress.org/support/plugin/waymark/',
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-en_CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-18 00:24:31+00:00\n"
"PO-Revision-Date: 2024-01-23 10:12-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-18 00:24:31+00:00\n"
"PO-Revision-Date: 2024-01-23 08:47-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-18 00:24:31+00:00\n"
"PO-Revision-Date: 2024-01-23 10:19-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-fr_CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-18 00:24:31+00:00\n"
"PO-Revision-Date: 2024-01-23 10:17-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-ja_JP.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-23 14:32:30+00:00\n"
"PO-Revision-Date: 2024-01-23 10:42-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-sv_SE.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-18 00:24:31+00:00\n"
"PO-Revision-Date: 2024-01-23 10:18-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-uk_UA.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-18 00:24:31+00:00\n"
"PO-Revision-Date: 2024-01-23 10:18-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark-zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-01-23 14:32:30+00:00\n"
"PO-Revision-Date: 2024-01-23 10:25-0800\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/waymark.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Waymark 1.3.1\n"
"Project-Id-Version: Waymark 1.3.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/waymark\n"
"POT-Creation-Date: 2024-06-13 18:49:59+00:00\n"
"MIME-Version: 1.0\n"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Waymark",
"version": "1.3.1",
"version": "1.3.2",
"description": "Waymark for WordPress",
"author": "Joe Hawes",
"main": "Gruntfile.js",
Expand Down
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Requires at least:** 4.6
**Tested up to:** 6.5
**Requires PHP:** 5.2
**Stable tag:** 1.3.1
**Stable tag:** 1.3.2
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -189,7 +189,11 @@ Built on the shoulders of giants, [thank you](https://www.waymark.dev/docs/thank

## Changelog ##

### 1.3.1 ###
### 1.3.2 ###

Collection background loading bug fix. Thanks to [zerider](https://wordpress.org/support/users/zerider/) for [reporting this](https://wordpress.org/support/topic/collection-map/).

### 1.3.0 ###

- **Overlay Properties** - Read GeoJSON feature properties when importing (Settings > Overlays > Properties). If Waymark finds data for the specified property keys they will stored upon import. These can be automatically appended to the Overlay Description, or accessed programatically via the `layer.feature.properties` Object. Thanks to [dariospace](https://github.com/dariospace) for the [requesting](https://github.com/OpenGIS/Waymark/issues/45) the return of this feature.

Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: GIS, Map maker, GPX, Track, Elevation
Requires at least: 4.6
Tested up to: 6.5
Requires PHP: 5.2
Stable tag: 1.3.1
Stable tag: 1.3.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -171,7 +171,11 @@ Built on the shoulders of giants, [thank you](https://www.waymark.dev/docs/thank

== Changelog ==

= 1.3.1 =
= 1.3.2 =

Collection background loading bug fix. Thanks to [zerider](https://wordpress.org/support/users/zerider/) for [reporting this](https://wordpress.org/support/topic/collection-map/).

= 1.3.0 =

- **Overlay Properties** - Read GeoJSON feature properties when importing (Settings > Overlays > Properties). If Waymark finds data for the specified property keys they will stored upon import. These can be automatically appended to the Overlay Description, or accessed programatically via the `layer.feature.properties` Object. Thanks to [dariospace](https://github.com/dariospace) for the [requesting](https://github.com/OpenGIS/Waymark/issues/45) the return of this feature.

Expand Down

0 comments on commit 13b8eaa

Please sign in to comment.