6.0.2
2022-10-20 Feature3 Fix16 Tweak10 Language1Features
- 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.
