Skip to content

Commit

Permalink
release 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
liedekef committed Jul 15, 2023
1 parent 47ac527 commit 90508ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions eme-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand All @@ -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 ) {
Expand Down
4 changes: 2 additions & 2 deletions events-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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' );
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 90508ff

Please sign in to comment.