Skip to content

Commit efd3343

Browse files
RELEASE: 5.0.49
1 parent fbc6d56 commit efd3343

6 files changed

Lines changed: 38 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Releases
88

9+
### 5.0.49
10+
11+
12+
#### Fixed
13+
- [Fix events rest endpoint (#2021)](https://github.com/eventespresso/cafe/pull/2021)
14+
- [Update message RegEx to include shortcodes within digits, e.g [CO_ADD1] (#2022)](https://github.com/eventespresso/cafe/pull/2022)
15+
16+
#### Changed
17+
- [Add Update URI: to all none WP.org hosted plugins. (#2018)](https://github.com/eventespresso/cafe/pull/2018)
18+
19+
20+
21+
22+
23+
924
### 5.0.48
1025

1126
#### Added

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.48
1+
5.0.49

core/db_models/strategies/EE_Restriction_Generator_Base.strategy.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,14 @@ protected function addPublishedPostConditions(
260260
|| strpos($path_to_event_model, 'Event') !== false
261261
) {
262262
$where_conditions['OR*status'] = [
263-
"$path_to_event_model{status}" => $published_value,
263+
"{$path_to_event_model}status" => $published_value,
264264
'AND' => [
265-
"$path_to_event_model{Post_Meta.meta_key}" => '_previous_event_status',
266-
"$path_to_event_model{Post_Meta.meta_value}" => $published_value,
265+
"{$path_to_event_model}Post_Meta.meta_key" => '_previous_event_status',
266+
"{$path_to_event_model}Post_Meta.meta_value" => $published_value,
267267
],
268268
];
269269
} else {
270-
$where_conditions[ "$path_to_event_model{status}" ] = $published_value;
270+
$where_conditions[ "{$path_to_event_model}status" ] = $published_value;
271271
}
272272
return $where_conditions;
273273
}

core/libraries/shortcodes/EE_Shortcodes.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class EE_Shortcodes extends EE_Base
3131
* [RECEIPT_URL download=true] matches as [RECEIPT_URL
3232
* [PAYMENT_LINK_IF_NEEDED_* custom_text='pay me now man!'] matches as [PAYMENT_LINK_IF_NEEDED_*
3333
*/
34-
public const REGEX_SHORTCODE_NAME_ONLY = '/\[[A-Z_*]+/';
34+
public const REGEX_SHORTCODE_NAME_ONLY = '/\[[A-Z\d_*]+/';
3535

3636
/**
3737
* matches the opening [ plus the dynamic shortcode name including _*, but nothing else

espresso.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
Plugin Name: Event Espresso
44
Plugin URI: https://eventespresso.com/pricing/?ee_ver=ee4&utm_source=ee4_plugin_admin&utm_medium=link&utm_campaign=wordpress_plugins_page&utm_content=support_link
55
Description: Manage events, sell tickets, and receive payments from your WordPress website. Reduce event administration time, cut-out ticketing fees, and own your customer data. | <a href="https://eventespresso.com/add-ons/?utm_source=plugin_activation_screen&utm_medium=link&utm_campaign=plugin_description">Extensions</a> | <a href="https://eventespresso.com/pricing/?utm_source=plugin_activation_screen&utm_medium=link&utm_campaign=plugin_description">Sales</a> | <a href="admin.php?page=espresso_support">Support</a>
6-
Version: 5.0.48
6+
Version: 5.0.49
77
Author: Event Espresso
88
Author URI: https://eventespresso.com/?ee_ver=ee4&utm_source=ee4_plugin_admin&utm_medium=link&utm_campaign=wordpress_plugins_page&utm_content=support_link
9+
Update URI: https://eventespresso.com/event-espresso-core-reg/
910
License: GPLv3
1011
Text Domain: event_espresso
1112
GitHub Plugin URI: https://github.com/eventespresso/event-espresso-core
@@ -104,7 +105,7 @@ function espresso_minimum_php_version_error()
104105
*/
105106
function espresso_version(): string
106107
{
107-
return apply_filters('FHEE__espresso__espresso_version', '5.0.48');
108+
return apply_filters('FHEE__espresso__espresso_version', '5.0.49');
108109
}
109110

110111
/**

readme.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Tags: Events, Tickets, Event Registration, Ticket Sales, Calendar
66
Requires at least: 4.5
77
Requires PHP: 7.4
88
Tested up to: 6.8.3
9-
Stable tag: 5.0.48
9+
Stable tag: 5.0.49
1010
License: GPL2
1111

1212
The best events plugin with event registration, free and paid ticket sales, event registration forms, PayPal payments, automatic emails, and more!
@@ -82,6 +82,19 @@ Explore more features and view screenshots [here](https://eventespresso.com/feat
8282

8383
== Changelog ==
8484

85+
## Releases
86+
87+
### [5.0.49]
88+
89+
#### Fixed
90+
- [Fix events rest endpoint (#2021)]
91+
- [Update message RegEx to include shortcodes within digits, e.g [CO_ADD1] (#2022)]
92+
93+
#### Changed
94+
- [Add Update URI: to all none WP.org hosted plugins. (#2018)]
95+
96+
97+
8598
### [5.0.48]
8699

87100
#### Added

0 commit comments

Comments
 (0)