Filter Bar
Features
- Add a Filter Bar setting to batch filter selections behind an Apply button, improving keyboard accessibility.
Fixes
- Corrected encoding of additional field filter values containing spaces so the FilterBar no longer returns empty results when adding a second filter from a direct link.
- Resolved additional field filter matching and display issues for values containing quotes, percent signs, or plus-encoded spaces.
- Resolved an issue where additional field filters did not return events when an option value contained special characters such as commas or ampersands, and where the active filter state could display incorrectly.
- Resolved an issue where the Cost filter range slider stopped filtering on sites with cent-priced events.
- Resolved a PHP warning when the Cost filter was displayed as checkboxes.
- Resolved fatal errors that could occur when the Cost or Date filters received malformed request parameters.
Languages
- 4 new strings added, 16 updated, 0 fuzzied, and 0 obsoleted.
Tweaks
- Updated broken link to coding standards in
CONTRIBUTING.md
Security
- Replaced vendored Swiper v4.5.0 with v12.2.0 for security improvement.
Languages
- 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.
Fixes
- Prevent additional fields filters from resetting when navigating between pages of events. [FBAR-363]
- Resolved a fatal database error when using the Time of Day "All Day" filter on Month and Week views with Custom Tables active. [SMTNC-342]
Languages
- 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.
Tweaks
- Add appropriate ARIA roles to dropdown versus multiselect elements. [FBAR-360]
- Changed views:
v2_1/components/pill-button,v2_1/components/pill
Accessibilitys
- Close the filter options and move the focus back to the toggle button using the eescape key. [FBAR-358]
- Move the focus to the first viable option when navigating via keyboard. [FBAR-357]
- Trap focus within the filter options when navigating with keyboard. [FBAR-362]
Languages
- 0 new strings added, 1 updated, 0 fuzzied, and 0 obsoleted.
Fixes
- Added new class to handle special character parsing. [FBAR-247]
Tweaks
- Added filters:
tec_events_filterbar_encoding_helper_encode_for_url,tec_events_filterbar_encoding_helper_decode_from_url,tec_events_filterbar_encoding_helper_encode_for_form,tec_events_filterbar_encoding_helper_decode_from_form - Leverage WP's new "requires plugin" header https://make.wordpress.org/core/2024/03/05/introducing-plugin-dependencies-in-wordpress-6-5/ to prevent activating FBAR if TEC is not active.
Compatibilitys
- PHP 8.3 compatibility improvements. [FBAR-352]
Languages
- 1 new strings added, 10 updated, 0 fuzzied, and 1 obsoleted.
Tweaks
- Migrated build system from gulp to wp-scripts with Tyson for modern asset compilation
- Removed filters: `tribe_events_filters_css_version
Languages
- 0 new strings added, 27 updated, 0 fuzzied, and 0 obsoleted.
Features
- Add admin control to select which categories are displayed in the frontend filter. [FBAR-350]
- Added Date From filter to show events starting from a selected date [FBAR-348]
- Added Date To filter to show events ending by a selected date. [FBAR-349]
Languages
- 7 new strings added, 13 updated, 0 fuzzied, and 0 obsoleted.
Fixes
- Make sure that filtering by venue or organizer works on WPML-translated pages. [FBAR-313]
Tweaks
- Add the
tec_events_filter_additional_field_intersectfilter to allow showing all used values of additional field in Filter Bar. - Ensure that Additional Field options that are removed don't show up in Filter Bar any longer. [FBAR-307]
- Added filters:
tec_events_filter_additional_field_intersect,tribe_filterbar_organizer_ids,tribe_filterbar_venue_ids,wpml_default_language,wpml_object_id - Changed views:
v2_1/components/events-bar/filter-button,v2_1/components/filter,v2_1/components/pill-button,v2_1/components/pill,v2_1/components/range
Accessibilitys
- Add header tags around accordion buttons to maintain semantic meaning. [FBAR-334]
- Add
aria-hidden="true"to filterbar icon for better screen reader accessibility. [FBAR-319] - Improve accessibility labels for range slider. [FBAR-331]
- Improved accessibility of Filter Bar buttons. [FBAR-337]
- Move focus to filterbar options when accordion is opened for better accessibility. [FBAR-335]
- Tweaked the filter for Featured events for better accessibility. [FBAR-338]
Languages
- 1 new strings added, 27 updated, 0 fuzzied, and 0 obsoleted.
Fixes
- Avoid slow queries by not adding Category filter tax query multiple times. [ECP-1898]
Performance
- Avoid too long queries by deactivating filters stack with Custom Tables v1. [ECP-1898]
Languages
- 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.
Features
- Added the filter
tec_events_filter_filters_category_get_terms_argsto allow adjusting the parameters of categories available when searching. [FBAR-340]
Languages
- 0 new strings added, 4 updated, 0 fuzzied, and 0 obsoleted.