Skip to content

Commit

Permalink
Version update
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinvonBerg committed Nov 19, 2024
1 parent 9fb236d commit c58bbcd
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 16 deletions.
10 changes: 5 additions & 5 deletions fotorama_multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
8 changes: 4 additions & 4 deletions inc/admin_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion inc/extractMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion inc/fotoramaClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/


Expand Down
2 changes: 1 addition & 1 deletion inc/miniMasonryClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/


Expand Down
2 changes: 1 addition & 1 deletion inc/swiperClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/


Expand Down
2 changes: 1 addition & 1 deletion js/fotoramaClass.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
FotoramaClass 0.30.0
FotoramaClass 0.31.0
license: GPL 2.0
Martin von Berg
*/
Expand Down
2 changes: 1 addition & 1 deletion js/thumbnailClass.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
ThumbnailClass V 0.30.0
ThumbnailClass V 0.31.0
license: GPL 2.0
Martin von Berg
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c58bbcd

Please sign in to comment.