Skip to content

Commit

Permalink
v3.2.0: fixes php8.1; do_shortcode in popups
Browse files Browse the repository at this point in the history
  • Loading branch information
bozdoz committed Feb 12, 2023
1 parent de81905 commit 56de19a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
4 changes: 2 additions & 2 deletions leaflet-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Author URI: https://bozdoz.com/
* Text Domain: leaflet-map
* Domain Path: /languages/
* Version: 3.1.0
* Version: 3.2.0
* License: GPL2
* Leaflet Map is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -29,7 +29,7 @@
exit;
}

define('LEAFLET_MAP__PLUGIN_VERSION', '3.1.0');
define('LEAFLET_MAP__PLUGIN_VERSION', '3.2.0');
define('LEAFLET_MAP__PLUGIN_FILE', __FILE__);
define('LEAFLET_MAP__PLUGIN_DIR', plugin_dir_path(__FILE__));

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wp-plugin-leaflet-map",
"private": true,
"version": "3.1.0",
"version": "3.2.0",
"description": "Leaflet Map WordPress Plugin",
"scripts": {
"start": "docker-compose up && exit 0",
Expand All @@ -10,6 +10,7 @@
"wordpress": "docker-compose run wordpress bash",
"cli": "docker-compose run cli sh",
"translate": "cd ./languages && sudo php ../../wp-trunk/tools/i18n/makepot.php wp-plugin ../",
"changes": "VERSION=$(echo $VERSION || node -e \"console.log(require('./package.json').version)\") && git log v${VERSION}..HEAD --oneline",
"test": "jest"
},
"repository": {
Expand Down
16 changes: 14 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Donate link: https://www.paypal.me/bozdoz
Tags: leaflet, map, mobile, javascript, openstreetmap, mapquest, interactive
Requires at least: 4.6
Tested up to: 6.1.1
Version: 3.1.0
Stable tag: 3.1.0
Version: 3.2.0
Stable tag: 3.2.0
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -149,6 +149,13 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/

== Changelog ==

= 3.2.0 =
* Adds banner if default js is out-of-sync
* Adds do_shortcode in popups
* Fixes error if geocoder fails to get a lat/lng
* Fixes deprecated warnings in php 8.1
* Fixes detect retina and maxzoom issues

= 3.1.0 =
* Bumps leaflet default version to 1.9.3
* Checks for `lat` and `lon` in osm_geocode with `isset`
Expand Down Expand Up @@ -450,6 +457,11 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/

== Upgrade Notice ==

= 3.2.0 =
* Fixes error if geocoder fails to get a lat/lng
* Fixes deprecated warnings in php 8.1
* Fixes detect retina and maxzoom issues

= 3.1.0 =
Reduces php warnings by checking for `lat` and `lon` in osm_geocode with `isset()`.
Adds min, max, step to inputs for zoom, minZoom, and maxZoom.
Expand Down

0 comments on commit 56de19a

Please sign in to comment.