The Events Calendar 6.0.13
Summary
Maintenance Release
This version of The Events Calendar includes various fixes and tweaks with a focus on stability.
As always, we recommend testing updates on a staging site first, but it should all be smooth sailing.
✨ Tweaks
New tweaks included in this release
- Added filter
tec_events_event_cleaner_trash_cron_frequency
to allow customizing the frequency of the trash old event CRON. - Added the
TEC\Provider\Controller
abstract class to kick-start Controllers and theTEC\Common\Tests\Provider\Controller_Test_Case
class to test them. - Deprecated some event cleaner functionality. When 6.0 data structure is activated the
Permanently delete events older than
option is disabled, added an adjusted tooltip on theMove to trash events older than
event setting regardingEMPTY_TRASH_DAYS
. - Ensure the
Subscribe to Calendar
dropdown toggles on and off on click for an improved user experience. - Ensure we have the ability to hide the Event Tickets Activation notice using the
defined( 'TRIBE_HIDE_UPSELL' )
constant. - Updates to
tribe_events_delete_old_events_sql_args
andtribe_events_delete_old_events_sql
filters to support Events Calendar Pro recurrence cleanup.
✅ Fixed
Bugs that were squashed in this release
- Fix for the fatal
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Firebase\JWT\JWT::encode(), 2 passed
from other plugins using a different version of theFirebase\JWT
library. Setup a Strauss namespaced version for this library. - Minor button style hardening to prevent some common theme global style bleed, namely from Elementor global styles.
- Fixes a cache bug that showed up in ECP-1475. The underlying issue was cache would carry stale data and not clear with the
save_post
trigger being hit repeatedly. - Correct issue with event subscriptions not passing events past the first 30.
- Ensure Events are displayed correctly on Elementor’s
Posts
widget. - Fix a
Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in …/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/converter/class-wpml-url-cached-converter.php:46
fatal with our WPML integration when filtering Event permalinks for Event views. - Fixed an edge case to not inadvertently trash entire Events Pro recurrences.
- For CT1 in markers the occurrence would sometimes not be the same one found as the date field, only one was filtering by post_status. We were only using
provisional_id
for CT1, now we fallback topost_id
. Now removing options when no occurrences are found, instead of retaining a stale value. - Pass a NOOP callback function to Google Maps scripts to prevent JS warnings.
- Some button style hardening to prevent some common theme global style bleed, namely from Elementor global styles.
⚙️ Developers
New or updated hooks
- Added action:
tec_events_custom_tables_v1_fully_activated
- Added filters:
tribe_events_known_range_stati
,tec_events_custom_tables_v1_events_only_modifier_before_get_posts
,tec_events_event_cleaner_trash_cron_frequency
,tec_events_linked_posts_my_posts_post_status
,tec_events_linked_posts_all_posts_post_status
,tribe_events_add_canonical_tag
,tec_common_rewrite_localize_matcher
,tec_events_event_cleaner_trash_cron_frequency
- Updates to
tribe_events_delete_old_events_sql_args
andtribe_events_delete_old_events_sql
filters.
ℹ️ Changes
Templates that have changed in this release
blocks/event-tags
blocks/parts/details
v2/list/event/venue
🗣 Translations
Updated language files and strings
- 1 new string added
- 32 updated
- 1 fuzzied
- 0 obsoleted