From 90508ffdc5b16ee15d17b77e3e287dfe39dd4161 Mon Sep 17 00:00:00 2001 From: Franky Van Liedekerke Date: Sat, 15 Jul 2023 09:33:55 +0200 Subject: [PATCH] release 2.4.2 --- eme-widgets.php | 3 +-- events-manager.php | 4 ++-- readme.txt | 5 ++++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/eme-widgets.php b/eme-widgets.php index 1d16671c..ec878e3f 100644 --- a/eme-widgets.php +++ b/eme-widgets.php @@ -26,7 +26,7 @@ public function widget( $args, $instance ) { //$title = apply_filters('widget_title', $instance['title'], $instance, $this->id_base); $title = apply_filters( 'widget_title', $instance['title'] ); $limit = isset( $instance['limit'] ) ? intval( $instance['limit'] ) : 5; - $scope = empty( $instance['scope'] ) ? 'future' : urlencode( $instance['scope'] ); + $scope = empty( $instance['scope'] ) ? 'future' : $instance['scope']; $showperiod = empty( $instance['showperiod'] ) ? '' : $instance['showperiod']; $show_ongoing = empty( $instance['show_ongoing'] ) ? false : true; $order = empty( $instance['order'] ) ? 'ASC' : $instance['order']; @@ -42,7 +42,6 @@ public function widget( $args, $instance ) { } else { $format = $instance['format']; } - $format = urlencode( $format ); $format_tpl = isset( $instance['format_tpl'] ) ? intval( $instance['format_tpl'] ) : 0; if ( $instance['authorid'] == -1 ) { diff --git a/events-manager.php b/events-manager.php index e6103c86..2ba73f9e 100644 --- a/events-manager.php +++ b/events-manager.php @@ -6,7 +6,7 @@ /* Plugin Name: Events Made Easy -Version: 2.4.1 +Version: 2.4.2 Plugin URI: https://www.e-dynamics.be/wordpress Update URI: https://github.com/liedekef/events-made-easy/ Description: Manage and display events and memberships. Also includes recurring events; locations; widgets; maps; RSVP; ICAL and RSS feeds; Paypal, 2Checkout and others. @@ -69,7 +69,7 @@ require_once 'class-expressivedate.php'; // Setting constants -define( 'EME_VERSION', '2.4.1' ); +define( 'EME_VERSION', '2.4.2' ); define( 'DEFAULT_CAP_ADD_EVENT', 'edit_posts' ); define( 'DEFAULT_CAP_AUTHOR_EVENT', 'publish_posts' ); define( 'DEFAULT_CAP_PUBLISH_EVENT', 'publish_posts' ); diff --git a/readme.txt b/readme.txt index 4b87dd22..ee6193e8 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.e-dynamics.be/wordpress Tags: events, memberships, locations, bookings, calendars, maps, payment gateways, drip content Requires at least: 5.4 Tested up to: 6.2 -Stable tag: 2.4.1 +Stable tag: 2.4.2 Requires PHP: 8.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -98,6 +98,9 @@ Events list and calendars can be added to your blogs through widgets, shortcodes See the FAQ section at the [Official site](https://www.e-dynamics.be/wordpress/). == Changelog == += 2.4.2 (2023/07/15) = +* Event list widget was showing urlencoded text (due to the new php-8 function call method, urlencode was no longer needed but forgot to remove it) + = 2.4.1 (2023/07/14) = * Widget fix that caused php error