The Events Calendar
Fixes
- Avoid fatal error in the
tribe_is_events_front_pagewhen called before global query object is initialized. [TEC-4622]
Fixes
- Resolved a migration state problem in the view not being handled properly when preview is unsupported and a migration error happens simultaneously. [TEC-4482]
- Prevent a couple scenarios that would cause 404 pages on events. This addresses both an error from UTC offset validation failures and an issue where table renaming improperly created foreign keys that pointed to an invalid constraint target. [TEC-4578]
- Avoid query filtering issues where the Event post type would be incorrectly added to queries. [TEC-4588]
- Incorrect results when including Events in the main blog loop. [TEC-4474]
- Avoid errors when third-party plugins reference or use the
Tribe__Events__Query::pre_get_postsmethod. [TEC-4540] - Prevent Serializable interface deprecated error in PHP 8.1 when migrating events. [ECP-1319]
- Ensure the
Previous Eventsbutton when using theEvent ViewElementor widget navigates correctly to the previous page. [FBAR-273] - Ensure that when we hit a single-event ical endpoint we get a the correct single event. [TEC-4469]
- Avoid PHP fatal error on PHP 8.0+ in some settings' pages when setting the front page to the Main Events Page. [TEC-4614]
Tweaks
- Add aria label to Google Maps iFrame embed to improve accessibility. [TEC-4404]
- Prevent unbound query for previous URL on list based views, improving performance.
- Additional views setup no longer run extra Database Query unnecessarily, improving performance.
- Improve performance on the Settings page when dealing with a big dataset of events.
- Improve performance on the
tribe_events()and on the Event Views by removing an unnecessary JOIN for hiding of specific upcoming events. - Changed views:
modules/map-basic
Languages
- 1 new strings added, 17 updated, 0 fuzzied, and 0 obsoleted
Fixes
- Fix for scenarios where fatal
Call to a member function get() on null in... the-events-calendar/src/Tribe/Query.php(46)would occur when$wp_queryglobal was not set. [TEC-4566] - Add correct text domains to the Organizer block. [TEC-4466]
- Fix for stuck migrations when duplicate meta exists. [TEC-4547]
- Avoid issues when trying to import some .ics format files with Event Aggregator. [EA-461]
Tweaks
- Added ability to filter v2 repository args on all View queries. [ECP-1372]
- Reorganize the General and Display settings tab content. [TCMN-149]
- New headers for the General and Display settings tabs. [TEC-4573]
- Add view upsells for ECP on the settings display tab. [TEC-4572]
- Add settings info boxes. [TEC-4574]
- Added filters:
tec_events_custom_tables_v1_query_modifier_applies_to_query,tec_events_display_settings_tab_fields,tribe_general_settings_tab_fields
Deprecateds
Tribe__Events__Editor__Compatibility::$blocks_editor_hidden_field_key.Tribe__Events__Main::do_addons_api_settings_tab(),Tribe__Events__Main::show_upgrade(),Tribe__Events__Main::do_upgrade_tab(),Tribe__Events__Main::general_settings_tab_fields(),Tribe__Events__Main::display_settings_tab_fields(),Tribe__Events__Main::tribe_settings_url().
Languages
- 118 new strings added, 287 updated, 10 fuzzied, and 88 obsoleted.
Compatibilitys
- The Events Calendar 6.0.4 is only compatible with Events Calendar PRO 6.0.3 and higher
Features
- Include Yoast WordPress SEO OpenGraph integration. [TEC-4558][TEC-4561]
Fixes
- Fix for fatal when adding Featured Venue Events widget on Appearance -> Widgets screen. [ECP-1411]
- Fix for fatal error on Series page in PHP 7.3. [TEC-4549]
- Prevent error around Free regular expression for JSON-LD on updated views. Props @jonkastonka @saleck @randon [TEC-4570]
- Avoid fatal error when using PHP version 8.0 or above and the HyperDB plugin. [ECP-1360]
- Ensure view labels are translated appropriately. [TEC-4485]
- Errors and warnings in WP.com installations due to empty query results. [TEC-4543]
- Translation of Event Occurrences URL when using WPML and the Custom Tables V1 implementation. [ECP-1373]
- More robust type checking in Builder methods. [ECP-1402]
- Avoid
orderbyrelated database error in Custom Tables V1 context. [TEC-4555] - Prevent error when updating Venue in sites using object cache. [TEC-4348]
- Prevent date format error when trying to subscribe to calendar in sites using object cache. [TEC-4459]
Tweaks
- Clean up the Event Website block to make it more intuitive for users. [TEC-4352]
- Update the venue website field to type URL. [TEC-4349]
- Do not add date-based ordering to queries when using
noneorrandorder. [TEC-4555] - Added filters:
tec_events_integrations_should_load,tec_events_integrations_{$type}_should_load,tec_events_integrations_{$type}_{$slug}_should_load,tec_events_integrations_{$integration_type}_{$integration_slug}_events_schema_is_needed,tec_events_integrations_{$integration_type}_{$integration_slug}_json_ld_{$type}_data,tec_events_views_v2_view_label,tec_events_views_v2_{$slug}_view_label - Removed filters:
tribe_events_views,tribe_events_views_v2_manager_view_label_domain,tribe_events_views_v2_manager_{$slug}_view_label_domain,tribe_events_views_v2_manager_view_label,tribe_events_views_v2_manager_{$slug}_view_label
Languages
- 3 new strings added, 144 updated, 0 fuzzied, and 0 obsoleted.
Fixes
- Correct issues where early queries can interfere with View template redirects. [TEC-4554]
- Serialization and unserialization issues related to caching of post models. [TEC-4379]
- Prevent default WordPress occurrence query caching because we cache it ourselves. [TEC-4379]
Tweaks
- Add the
tribe_get_venue_object_afterandtribe_get_organizer_object_afterfilters. [TEC-4379]
Fixes
- Handle repository query filters correctly in custom tables context; fix a REST API issue. [ET-1567]
Features
- Add initial integration with Restrict Content Pro. This hides any events on the calendar views that the user is not allowed to view. [ [TEC-4457]]
- Support the
strict_datesREST API argument in the/eventsendpoint to control the inclusiveness of the date parameters. [TEC-4493] - Support relative date parameters (e.g:
starts_before,ends_afteras REST API arguments in the/eventsendpoint to retrieve single day and multi-day events in a single search. [TEC-4493]
Fixes
- Prevent problems with WordPress.com Memcache turning Event Single Pages into 404s after the first visit [TEC-4488]
- Add new function to properly escape event titles in URLs so they are better handled by rewrite rules. Props to @shisho585 for the fix! [TEC-4518]
- Avoid resetting post data in some Dive theme and plugins. [TEC-4510]
- Correct a few misnamed custom prop references. [TEC-4445]
- Correct an issue with event venue when saving in our WPML integration. Props to @dgwatkins for the fix! [TEC-4498]
- Correctly deprecate the
Tribe__Events__Main::get_closest_eventmethod. [ECP-1326] - Correctly set
found_postsandmax_num_pageswhen redirecting a query to the custom tables. [TEC-4508] - Do not run wasteful queries on
switch_blogin multi-site installations. [TEC-4492] - Do not throw errors during migration when notices or errors come from other plugins. [ECP-1318]
- Ensure
tribe_is_monthandtribe_is_by_datework as expected. [TEC-4509] - Ensure we handle if By_Day_View gets a null $event_obj->dates. Props to @juliangumenita for the fix! [TEC-4509]
- Remove strict type hinting from Custom Tables v1 code that would cause fatals in some environments. [ECP-1343]
- Resolve problems with tribe_get_full_address() which was not properly returning venue address.
- Restore erroneously removed Events query filters that would result in out-of-order results. [TEC-4470]
- Revert the code erroneous removed on legacy views removal around the "Show events with the site's other posts" setting.
- Prevent a potential fatal when WP-CLI isn't present. [TEC-4470]
Tweaks
- Move Month View day cell class logic to a standalone function with filters. [TEC-4457]
- Add new method:
\Tribe\Events\Views\V2\month_day_classes[TEC-4457] - Added filter
tec_events_month_day_classes_comparison_dateto filter the date used for class determination comparisons. [TEC-4457] - Added filter
tec_events_month_day_classesto filter the actual class list before it gets passed to the template. [TEC-4457] - Update the organizer website field to type URL. [TEC-4395]
- Add an event property for if the event is currently happening. [TEC-4454]
- Create a filterable function
tec_events_get_today_button_label()for the text on the "Today" button on calendar views. [TEC-4458] - Add a filter for the link title and aria-label so they match the button text more closely. [TEC-4458]
- Added filters:
tec_events_today_button_labelandtec_events_view_{view_slug}_today_button_labelto filter the output of thetec_events_get_today_button_labelfunction,tec_events_today_button_titleandtec_events_{view_slug}_view_today_button_titleto filter the link title and aria-label. [TEC-4458] - Speed up the Custom Tables v1 migration process if a browser window is open on the migration UI. [TEC-4517]
Languages
- 11 new strings added, 149 updated, 2 fuzzied, and 2 obsoleted.
Fixes
- Prevent Google Calendar duplicated Events from Importing with Aggregator. [TEC-4497]
Fixes
- Prevent network deactivation from overwriting the subsite settings with main site cached settings. [TEC-3738]
- Correct some translation domains pointing to the wrong plugin. [TEC-4450]
- Ensure the details in the single event page are accurate for Divi users who set any Divi template under Settings → Events template. [TEC-3814]
- Add caching to prevent duplicated queries for translated venue/organizer values. props to @dgwatkins for the suggested fix! [TEC-4428]
- Check the document for
langandrtlattributes and pass them on to the datepicker so it adapts properly. [TEC-4452] - Corrected an issue where the Organizer Block was showing the "Add Another Organizer" button when no organizers were selected. [CE-11]
- Corrected an issue where the "Edit Venue" and "Edit Organizer" links were displaying with no link. [CE-165]
- Correct migration error when The Events Calendar PRO is not active. [TEC-4475]
- Normalize, reformat and rebuild Event date-related meta to fix a number of migration preview failures [ECP-1304]
- Correct a problem with moving tickets when The Events Calendar PRO is not active. [TEC-4471]
- Correct an issue with migrating past events that straddle Daylight Savings Time. [ECP-1270]
- Fix the Community Events recurrence link. [ECP-1215]
Tweaks
- Add some helpful knowledgebase article links to the CSV import screen. [TEC-4353]
- Ensure the Fast-forward link uses the correct, customizable color as other links. [TEC-3962]
- Include Custom Tables Migration in the Support System Information array. [ECP-1316]
- Add compatibility for new "Convert to single" option in The Events Calendar PRO. [ECP-1308]
Languages
- 5 new strings added, 163 updated, 0 fuzzied, and 0 obsoleted
Fixes
- Prevent
E_ERRORfrom showing up when callingtribe_context()->is( 'is_main_query' )too early in execution. [TEC-4464]
