From fdf99d89c79ed416064a89bbe6aca54dce2c36fe Mon Sep 17 00:00:00 2001 From: bastianonm Date: Fri, 11 May 2012 18:47:32 +0000 Subject: [PATCH] --- readme.txt | 6 ++++-- wp-gpx-maps.php | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/readme.txt b/readme.txt index 9e05a25..689eb79 100644 --- a/readme.txt +++ b/readme.txt @@ -4,10 +4,10 @@ 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 Requires at least: 2.0.0 Tested up to: 3.3 -Stable tag: 1.1.18 +Stable tag: 1.1.19 License: GPLv2 or later -Draws a gpx track with altitude graph +Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. == Description == @@ -123,6 +123,8 @@ Yes! 2. Altitude & Speed & Hearth rate == Changelog == += 1.1.19 = +* include jQuery if needed = 1.1.17 = * Remove zero values from cadence and heart rate charts * nextgen gallery improvement diff --git a/wp-gpx-maps.php b/wp-gpx-maps.php index be7125d..5fadd09 100644 --- a/wp-gpx-maps.php +++ b/wp-gpx-maps.php @@ -3,7 +3,7 @@ Plugin Name: WP-GPX-Maps Plugin URI: http://www.darwinner.it/ Description: Draws a gpx track with altitude graph -Version: 1.1.18 +Version: 1.1.19 Author: Bastianon Massimo Author URI: http://www.pedemontanadelgrappa.it/ License: GPL @@ -42,10 +42,10 @@ function WP_GPX_Maps_action_links($links, $file) { function enqueue_WP_GPX_Maps_scripts() { wp_deregister_script( 'WP-GPX-Maps' ); - wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), null, "1.1.15"); + wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery'), "1.1.15"); wp_enqueue_script( 'WP-GPX-Maps' ); wp_deregister_script( 'highcharts' ); - wp_register_script( 'highcharts', plugins_url('/highcharts.js', __FILE__), null, "2.2.1", true); + wp_register_script( 'highcharts', plugins_url('/highcharts.js', __FILE__), array('jquery'), "2.2.1", true); wp_enqueue_script( 'highcharts' ); }