Skip to content

Commit

Permalink
Ready for WP 6.4, see readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinvonBerg committed Oct 29, 2023
1 parent f54ffe1 commit b6e1cae
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 14 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.23.2
* Version: 0.24.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.23.2','all');
\wp_enqueue_style('swiperThumbsCss', $plugin_path . 'js/thumbnailClass.min.css',[],'0.23.2','all');
\wp_enqueue_style('swiperCss', $plugin_path . 'js/swiperClass.min.css',[],'0.24.0','all');
\wp_enqueue_style('swiperThumbsCss', $plugin_path . 'js/thumbnailClass.min.css',[],'0.24.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.23.2', true);
wp_enqueue_script('fotorama_main_bundle', $plugin_path . 'build/fm_bundle/fm_main.js', ['jquery'], '0.24.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.23.2
* @version 0.24.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.23.2
* @version 0.24.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.23.2
* @version 0.24.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.23.2
FotoramaClass 0.24.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.23.2
LeafletMapClass V 0.24.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.23.2
ThumbnailClass V 0.24.0
license: GPL 2.0
Martin von Berg
*/
Expand Down
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,9 @@ This plugin uses the great work from:
# Changelog
= 0.23.2 =
27.10.2023: Test with WP 6.4-RC2. Cube transition in Swiper deactivated. Does not Work and did never work completely. Update of Gutenberg Block still pending. Should not be used. Removed wp_kses_post() on Admin Pages.
= 0.24.0 =
29.10.2023: PHP: Escaping for echo finalized. Translation completed ( .htaccess test output ). Tileserver.php minor changes. Unused funtions in fm_functions.php out commented.
27.10.2023: Test with WP 6.4-RC2. Cube transition in Swiper deactivated (stil usable as shortcode parameter). Does not work and did never work completely. Update of Gutenberg Block still pending. Should not be used. Removed wp_kses_post() on Admin Pages.
= 0.23.2 =
30.08.2023: Bugfix for File upload in Admin Section.
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: slider, leaflet map, height chart, responsive, tile server
Requires at least: 5.9
Tested up to: 6.4
Stable tag: 0.23.2
Stable tag: 0.24.0
Requires PHP: 7.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -86,7 +86,7 @@ None for the moment.

== Changelog ==

= 0.23.2 =
= 0.24.0 =
First Version for WordPress.org. See complete history in Github: https://github.com/MartinvonBerg/Fotorama-Leaflet-Elevation/blob/before_chartjs/readme.md

== Plugin uses ==
Expand Down

0 comments on commit b6e1cae

Please sign in to comment.