diff --git a/fotorama_multi.php b/fotorama_multi.php index a3ce2d8..b27d35c 100644 --- a/fotorama_multi.php +++ b/fotorama_multi.php @@ -11,7 +11,7 @@ * Plugin Name: Slider + Leaflet-Map + Chart * Plugin URI: https://github.com/MartinvonBerg/Fotorama-Leaflet-Elevation * Description: Image and Video Slider, Leaflet Map and Elevation Chart Integration. Shows images from any directory in your upload folder. Uses Fotorama or Swiper for the Slider. - * Version: 0.30.0 + * Version: 0.31.0 * Requires at least: 6.2 * Tested up to: 6.7 * Requires PHP: 7.4 @@ -59,8 +59,8 @@ function showmulti($attr, $content = null) { //require_once __DIR__ . '/fotorama_multi_enq_scripts.php'; $plugin_path = plugins_url('/', __FILE__); - \wp_enqueue_style('swiperCss', $plugin_path . 'js/swiperClass.min.css',[],'0.30.0','all'); - \wp_enqueue_style('swiperThumbsCss', $plugin_path . 'js/thumbnailClass.min.css',[],'0.30.0','all'); + \wp_enqueue_style('swiperCss', $plugin_path . 'js/swiperClass.min.css',[],'0.31.0','all'); + \wp_enqueue_style('swiperThumbsCss', $plugin_path . 'js/thumbnailClass.min.css',[],'0.31.0','all'); // Define global Values and Variables. We need the globals for the state-transition of the post. global $post_state_pub_2_draft; @@ -488,9 +488,9 @@ function showmulti($attr, $content = null) ); if ( isset($charttype) && $charttype === 'chartjs') { - wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_chartjs/fm_main.js', ['jquery'], '0.30.0', true); + wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_chartjs/fm_main.js', ['jquery'], '0.31.0', true); } else { - wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_bundle/fm_main.js', ['jquery'], '0.30.0', true); + wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_bundle/fm_main.js', ['jquery'], '0.31.0', true); } wp_localize_script('fotorama_main_bundle', 'pageVarsForJs', $pageVarsForJs); diff --git a/inc/admin_settings.php b/inc/admin_settings.php index a8f569b..fb106d6 100644 --- a/inc/admin_settings.php +++ b/inc/admin_settings.php @@ -1245,14 +1245,14 @@ public function __construct() public function fm_admin_scripts_enqueue() { // enque the javascript for the admin page. $plugin_path = plugins_url('/', __DIR__); - wp_enqueue_script('fotorama_admin', $plugin_path . 'build/fm_admin/fm_admin.js', ['jquery'], '0.30.0', true); - wp_enqueue_style('fm-admin-gpx', $plugin_path . 'css/fm_admin_gpx.css',[] ,'0.30.0' ,'all'); + wp_enqueue_script('fotorama_admin', $plugin_path . 'build/fm_admin/fm_admin.js', ['jquery'], '0.31.0', true); + wp_enqueue_style('fm-admin-gpx', $plugin_path . 'css/fm_admin_gpx.css',[] ,'0.31.0' ,'all'); /* enque the javascript for the standard page too. if ( isset($charttype) && $charttype === 'chartjs') { - wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_chartjs/fm_main.js', ['jquery'], '0.30.0', true); + wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_chartjs/fm_main.js', ['jquery'], '0.31.0', true); } else { - wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_bundle/fm_main.js', ['jquery'], '0.30.0', true); + wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_bundle/fm_main.js', ['jquery'], '0.31.0', true); } */ $tracks['track_0']['url'] = ''; // $gpx_url . $f; diff --git a/inc/extractMetadata.php b/inc/extractMetadata.php index ac46c4b..f7091b6 100644 --- a/inc/extractMetadata.php +++ b/inc/extractMetadata.php @@ -8,7 +8,7 @@ * Requires PHP: 8.0 * Requires at least: 6.2 * Tested up to: 6.7 - * Version: 0.30.0 + * Version: 0.31.0 * Author: Martin von Berg * Author URI: https://www.berg-reise-foto.de/software-wordpress-lightroom-plugins/wordpress-plugins-fotos-und-gpx/ * License: GPL-2.0 diff --git a/inc/fotoramaClass.php b/inc/fotoramaClass.php index 2e6c5e6..6a59da5 100644 --- a/inc/fotoramaClass.php +++ b/inc/fotoramaClass.php @@ -13,7 +13,7 @@ * @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @link https://github.com/MartinvonBerg/Fotorama-Leaflet-Elevation * @since 0.12.0 - * @version 0.30.0 + * @version 0.31.0 */ diff --git a/inc/miniMasonryClass.php b/inc/miniMasonryClass.php index 10e0e4c..1a3e43a 100644 --- a/inc/miniMasonryClass.php +++ b/inc/miniMasonryClass.php @@ -13,7 +13,7 @@ * @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @link https://github.com/MartinvonBerg/Fotorama-Leaflet-Elevation * @since 0.16.0 - * @version 0.30.0 + * @version 0.31.0 */ diff --git a/inc/swiperClass.php b/inc/swiperClass.php index 09dbd3e..372599e 100644 --- a/inc/swiperClass.php +++ b/inc/swiperClass.php @@ -13,7 +13,7 @@ * @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @link https://github.com/MartinvonBerg/Fotorama-Leaflet-Elevation * @since 0.12.0 - * @version 0.30.0 + * @version 0.31.0 */ diff --git a/js/fotoramaClass.js b/js/fotoramaClass.js index 7811325..7451446 100644 --- a/js/fotoramaClass.js +++ b/js/fotoramaClass.js @@ -1,5 +1,5 @@ /*! - FotoramaClass 0.30.0 + FotoramaClass 0.31.0 license: GPL 2.0 Martin von Berg */ diff --git a/js/thumbnailClass.js b/js/thumbnailClass.js index d132471..caf40e8 100644 --- a/js/thumbnailClass.js +++ b/js/thumbnailClass.js @@ -1,5 +1,5 @@ /*! - ThumbnailClass V 0.30.0 + ThumbnailClass V 0.31.0 license: GPL 2.0 Martin von Berg */ diff --git a/package.json b/package.json index 2f7e503..a7a4313 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fotorama-multi", - "version": "0.30.0", + "version": "0.31.0", "description": "Provide settings for the Fotorama-Elevation shortcode by a Gutenberg block", "author": "Martin von Berg", "license": "GPL-2.0", diff --git a/readme.md b/readme.md index e65d013..6fada5a 100644 --- a/readme.md +++ b/readme.md @@ -315,6 +315,9 @@ This plugin uses the great work from: # Changelog += 0.31.0 = 18.11.2024 +Refactor JS for Admin-GPX-Panel, Filter Multi-Sport-Tracks instead of reducing to one Track + = 0.30.0 = 11.11.2024 Update for AVIF-Files, Bugfixes in PHP for track statistics, minor updates. Changed loading of translation files and tileserver for openstreetmap.org. diff --git a/readme.txt b/readme.txt index 1e819db..56af3cf 100644 --- a/readme.txt +++ b/readme.txt @@ -86,6 +86,9 @@ No Upgrade to 0.30.0 required. Only if you want the new GPX-Track filtering and == Changelog == += 0.31.0 = 18.11.2024 +Refactor JS for Admin-GPX-Panel, Filter Multi-Sport-Tracks instead of reducing to one Track + = 0.30.0 = 11.11.2024 Update for AVIF-Files, Bugfixes in PHP for track statistics, minor updates