This commit is contained in:
bastianonm 2012-06-11 19:43:04 +00:00
parent c199b58be5
commit 53e4f11368
4 changed files with 9 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: maps, gpx, gps, graph, chart, google maps, highcharts, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence Tags: maps, gpx, gps, graph, chart, google maps, highcharts, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence
Requires at least: 2.0.0 Requires at least: 2.0.0
Tested up to: 3.3 Tested up to: 3.3
Stable tag: 1.1.22 Stable tag: 1.1.23
License: GPLv2 or later License: GPLv2 or later
Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map.
@ -123,6 +123,8 @@ Yes!
1. Altitude & Speed & Hearth rate 1. Altitude & Speed & Hearth rate
== Changelog == == Changelog ==
= 1.1.23 =
* Security fix, please update!
= 1.1.22 = = 1.1.22 =
* enable map zoom on scroll wheel (check settings) * enable map zoom on scroll wheel (check settings)
* test attributes in get params * test attributes in get params

View File

@ -3,7 +3,7 @@
Plugin Name: WP-GPX-Maps Plugin Name: WP-GPX-Maps
Plugin URI: http://www.darwinner.it/ Plugin URI: http://www.darwinner.it/
Description: Draws a gpx track with altitude graph Description: Draws a gpx track with altitude graph
Version: 1.1.22 Version: 1.1.23
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.pedemontanadelgrappa.it/
License: GPL License: GPL

View File

@ -24,7 +24,6 @@ function WP_GPX_Maps_html_page() {
$cacheGpxPath = gpxCacheFolderPath(); $cacheGpxPath = gpxCacheFolderPath();
$relativeGpxPath = relativeGpxFolderPath(); $relativeGpxPath = relativeGpxFolderPath();
$relativeGpxPath = str_replace("\\","/", $relativeGpxPath); $relativeGpxPath = str_replace("\\","/", $relativeGpxPath);
$gpxRegEx = '/.gpx$/';
$tab = $_GET['tab']; $tab = $_GET['tab'];

View File

@ -1,5 +1,10 @@
<?php <?php
if ( !is_admin() )
return;
$gpxRegEx = '/.gpx$/';
if ( isset($_POST['delete']) ) if ( isset($_POST['delete']) )
{ {
$del = $_POST['delete']; $del = $_POST['delete'];