Skip to content

Commit

Permalink
Bugfixes after test with 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinvonBerg committed Jul 19, 2023
1 parent 184f5fe commit 8d450a7
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 12 deletions.
8 changes: 4 additions & 4 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.20.0
* Version: 0.21.0
* Requires at least: 5.9
* Requires PHP: 7.4
* Author: Martin von Berg
Expand Down Expand Up @@ -58,8 +58,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.20.0','all');
\wp_enqueue_style('swiperThumbsCss', $plugin_path . 'js/thumbnailClass.min.css',[],'0.20.0','all');
\wp_enqueue_style('swiperCss', $plugin_path . 'js/swiperClass.min.css',[],'0.21.0','all');
\wp_enqueue_style('swiperThumbsCss', $plugin_path . 'js/thumbnailClass.min.css',[],'0.21.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 @@ -451,7 +451,7 @@ function showmulti($attr, $content = null)
'sw_options' => $page_options // keep old name of php-variable here for javascript.
);

wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_bundle/fm_main.js', ['jquery'], '0.20.0', true);
wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_bundle/fm_main.js', ['jquery'], '0.21.0', true);
wp_localize_script('fotorama_main_bundle', 'pageVarsForJs', $pageVarsForJs);

$shortcodecounter++;
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.20.0
* @version 0.21.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.20.0
* @version 0.21.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.20.0
* @version 0.21.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.20.0
FotoramaClass 0.21.0
license: GPL 2.0
Martin von Berg
*/
Expand Down
2 changes: 1 addition & 1 deletion js/leafletMapClass.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
LeafletMapClass V 0.20.0
LeafletMapClass V 0.21.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.20.0
ThumbnailClass V 0.21.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.20.0",
"version": "0.21.0",
"description": "Provide settings for the Fotorama-Elevation shortcode by a Gutenberg block",
"author": "Martin von Berg",
"license": "GPL-2.0",
Expand Down
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,13 @@ This plugin uses the great work from:
# Changelog
= 0.21.0 =
23.07.2023: New Release after testing. Bugfixes for MiniMasonry, LeafletMapClass.js, readImageFolder.php and CSS for Swiper Special Thumbbar.
= 0.20.0 =
23.06.2023: New Release for testing
23.06.2023: New Pre-Release for testing
= 0.19.0 =
19.06.2023: Bugfix and Performance improvement for Lighthouse.
Expand Down

0 comments on commit 8d450a7

Please sign in to comment.