Skip to content

Commit 1d827cc

Browse files
committed
Upgrade notice
1 parent f825f2b commit 1d827cc

File tree

1 file changed

+168
-9
lines changed

1 file changed

+168
-9
lines changed

readme.txt

Lines changed: 168 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Author URI: https://bozdoz.com
44
Plugin URI: https://wordpress.org/plugins/leaflet-map/
55
Contributors: bozdoz, hupe13, jannefleischer, remigr, gerital, sal0max, thibault-barrat, sardylan, AK-digital
66
Donate link: https://www.paypal.me/bozdoz
7-
Tags: leaflet, map, mobile, openstreetmap, mapquest
7+
Tags: leaflet, map, openstreetmap, mapquest, interactive
88
Requires at least: 4.6
9-
Tested up to: 6.7
9+
Tested up to: 6.8
1010
Version: 3.4.1
1111
Stable tag: 3.4.1
1212
License: GPLv2
@@ -66,7 +66,7 @@ Add a line to the map by adding `[leaflet-line]`. You can specify the postions w
6666

6767
Add a circle to the map by adding `[leaflet-circle]`. You can specify the position using `lat` and `lng` and the radius in meters using `radius`. You can also customize the style using [Leaflet's Path options](https://leafletjs.com/reference.html#path-option). Example: `[leaflet-circle message="max distance" lng=5.117909610271454 lat=52.097914814706094 radius=17500 color="#0DC143" fillOpacity=0.1]`.
6868

69-
Or you can add a geojson shape via a url (make sure you are allowed to access it if it's not hosted on your own server): `[leaflet-geojson src="https://example.com/path/to.geojson"]`. Add custom popups with field names; try out the default src file and fields like so:
69+
Or you can add a geojson shape via a url (make sure you are allowed to access it if it's not hosted on your own server): `[leaflet-geojson src="https://example.com/path/to.geojson"]`. Add custom popups with field names; try out the default src file and fields like so:
7070

7171
`
7272
[leaflet-map fitbounds]
@@ -161,7 +161,7 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/
161161
* [Feature] New [leaflet-wms] layer! Thanks @jannefleischer!
162162

163163
= 3.3.1 =
164-
* [Update] Default Leaflet map set at v1.9.4
164+
* [Update] Default Leaflet map set at v1.9.4
165165
* [Security] Escapes geojson popup properties to prevent XSS attacks
166166
* [Bug] Updates "!attribution" or "attribution=0" attributes to actually remove attribution
167167
* [Bug] Switches SANITIZE_FULL with SANITIZE to to allow "German umlauts"
@@ -215,7 +215,7 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/
215215
* actual bugfix to multiple or missing enqueue map scripts
216216

217217
= 2.23.1 =
218-
* possible bugfix to failing to enqueue map when shortcode rendered
218+
* possible bugfix to failing to enqueue map when shortcode rendered
219219

220220
= 2.23.0 =
221221
* Added iconUrl to leaflet-geojson shortcode.
@@ -332,7 +332,7 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/
332332
* Added string interpolation for GeoJSON popups to use feature properties (thanks to [@geraldo](https://github.com/geraldo))
333333

334334
= 2.9.1 =
335-
* Fixes for PHP 7.2: made all method arguments identical
335+
* Fixes for PHP 7.2: made all method arguments identical
336336
* Added minified JavaScript files for site speed
337337

338338
= 2.8.6 =
@@ -393,13 +393,13 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/
393393
* Added basic marker icon support (with attributes "iconUrl", "iconAnchor", etc.);
394394

395395
= 2.6.0 =
396-
* Changes to map creation which may solve an occasional marker creation JavaScript error
396+
* Changes to map creation which may solve an occasional marker creation JavaScript error
397397
* Added more attributes to marker shortcode (draggable, title, alt, opacity)
398398
* Added doubleClickZoom global, database option to globally disable double click zooming (by default), because it's more inline with disabling scroll zooming by default. Box zooming on the other hand is more intentional
399399

400400
= 2.5.0 =
401-
* Some improvements to the codebase;
402-
* added the same styling options for lines as there are for geojson;
401+
* Some improvements to the codebase;
402+
* added the same styling options for lines as there are for geojson;
403403
* added popups to lines, as there are for markers;
404404
* added an example to the shortcode admin page for the style attributes on lines;
405405
* added code and another example for disabling all map interactions (all zooms, keyboard, etc);
@@ -475,3 +475,162 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/
475475

476476
= 1.0 =
477477
* First Version. Basic map creation and marker creation.
478+
479+
== Upgrade Notice ==
480+
481+
= 3.3.1 =
482+
* Escapes geojson popup properties to prevent XSS attacks
483+
484+
= 3.2.0 =
485+
* Fixes error if geocoder fails to get a lat/lng
486+
* Fixes deprecated warnings in php 8.1
487+
* Fixes detect retina and maxzoom issues
488+
489+
= 3.1.0 =
490+
Reduces php warnings by checking for lat and lon in osm_geocode with isset().
491+
Adds min, max, step to inputs for zoom, minZoom, and maxZoom.
492+
Obfuscates base tileurl with base64_encode.
493+
Allows for comma-separated tile server subdomains.
494+
New: [leaflet-image-overlay] and [leaflet-video-overlay].
495+
496+
= 3.0.5 =
497+
Fixes ampersands/querystrings in geojson/gpx/kml urls
498+
499+
= 3.0.4 =
500+
Fixes markers so that they can accept `0` as a value for x/y and lat/lng coordinates
501+
502+
= 3.0.3 =
503+
Fixes using `popupAnchor` without passing `iconUrl`
504+
505+
= 3.0.2 =
506+
Another fix for commas in float coordinates. Fix validation of tile urls. Fix for php 5.6 using static function methods.
507+
508+
= 3.0.1 =
509+
Fixes some issues with float coordinates that use commas instead of decimals, and fixes some quotes in addresses for geocoding
510+
511+
= 3.0.0 =
512+
Fixes security issues in admin and in shortcode attributes. Escapes and filters many inputs.
513+
514+
= 2.23.3 =
515+
Changes 'leaflet_map_enqueue' action to fire for each map
516+
517+
= 2.23.2 =
518+
Actual bugfix to multiple or missing enqueue map scripts
519+
520+
= 2.23.1 =
521+
Possible bugfix to ensuring javascript is enqueued when map is rendered
522+
523+
= 2.23.0 =
524+
Minor bugfix to number-type inputs in admin that couldn't switch types between decimals and integers
525+
526+
= 2.21.0 =
527+
Fixes issues with tilelayers when min_zoom and max_zoom are identical and detect_retina is true
528+
529+
= 2.19.1 =
530+
Bumps leaflet version to 1.7.1
531+
Removes "\r\n" from default attribution
532+
Uses min and max zoom in tileurl as well as map
533+
534+
= 2.18.0 =
535+
Changes the way maps are rendered: Now creates map containers before creating maps, in the same order the containers are rendered. This should help with ajax, caching, and script-altering plugins.
536+
537+
= 2.17.3 =
538+
Bugfix to detect retina breaking MapQuest maps since 2.17.0
539+
540+
= 2.17.1 =
541+
Lazy-loading svg and geojson scripts so that it can wait for Leaflet to be loaded under some circumstances (deferred scripts)
542+
543+
= 2.17.0 =
544+
Makes shortcode in excerpts conditional (enable it in admin->leaflet-map->settings)
545+
546+
= 2.16.2 =
547+
Fixes missing maps by removing spaces in the JavaScript which some themes turn into paragraphs
548+
549+
= 2.16.1 =
550+
Updates default Leaflet to 1.6.0
551+
Changes map generation from a pre-defined randomly identified div element to a JavaScript generated div which is created (insertBefore) each inserted script tag
552+
553+
= 2.16.0 =
554+
Adds [leaflet-polygon]
555+
Allows author roles to see shortcodes page
556+
557+
= 2.15.0 =
558+
Adds referer to file_get_contents, in case curl is disabled
559+
Updates default Leaflet to 1.5.1
560+
Fixes reset default values button in settings
561+
Requires at least WordPress 4.6
562+
563+
= 2.12.0 =
564+
Fixed links in shortcode helper page; fixed issue with marker popups that had single quotes; loading leaflet scripts and styles only when a map shortcode is used
565+
566+
= 2.11.4 =
567+
Fix to a race condition issue with custom scripts changing leaflet rendering methods
568+
569+
= 2.11.3 =
570+
Fix for rendering circles (fix to 2.11.2)
571+
572+
= 2.10.1 =
573+
Fix for plugin settings not being included (somehow)
574+
575+
= 2.9.1 =
576+
Fix for PHP7.2; added minified JavaScript files
577+
578+
= 2.8.6 =
579+
Added [leaflet-gpx] for GPX format
580+
581+
= 2.8.6 =
582+
Fix image shortcode ratio
583+
584+
= 2.8.5 =
585+
Fix to missing files in 2.8.4
586+
587+
= 2.8.4 =
588+
Fixed issues with css and js CDN; removed version from querystring
589+
590+
= 2.8.3 =
591+
Fixed issues with leaflet-kml
592+
593+
= 2.8.2 =
594+
Fixed issues with image maps and geocoder addresses
595+
596+
= 2.7.6 =
597+
added optional cURL to get geolocations if file_get_contents is not allowed on a server (cURL needs to be enabled, obviously)
598+
599+
= 2.7.5 =
600+
fixed filter_var_array throwing errors in old PHP
601+
602+
= 2.7.3 =
603+
Fixed array_filter on some older PHP versions
604+
605+
= 2.7.2 =
606+
Fixed possible JavaScript error "Unexpected token <"; fix was to remove spaces
607+
608+
= 2.6.0 =
609+
Changes to map creation which may solve an occasional marker creation JavaScript error
610+
611+
= 2.0.2 =
612+
OpenStreetMap.org has an SSL certificate (osm.org didn't)
613+
614+
= 2.0.1 =
615+
GeoJSON ajax requests now work with Internet Explorer (some versions)
616+
617+
= 2.0 =
618+
MapQuest tiles will no longer work without an app key!
619+
620+
= 1.15 =
621+
Fixed incompatibility with plugins that execute recursive shortcodes
622+
623+
= 1.14 =
624+
Fixed slashes in optional map attribution
625+
626+
= 1.12 =
627+
Added htmlspecialchars in admin.php, and custom attributions. Bugfix : removed position in admin menu so it doesn't overwrite or be overwritten (thanks to [@ziodave](https://github.com/ziodave))
628+
629+
= 1.6 =
630+
Removed windows onload functions and created a construct and init js file for initiating the maps when Leaflet is ready (other plugins were overwriting windows.onload).
631+
632+
= 1.5 =
633+
Improved stability for multiple plugins with windows onload functions.
634+
635+
= 1.0 =
636+
First Version. Tested with 3.8.1.

0 commit comments

Comments
 (0)