Events
Recent Updates
Security
- Ensure filter values are properly escaped before use in queries
Fixes
- Create instance variables until plugins are loaded, to allow translations on each variable
- Add data attributes to the container created by the shortcode, to allow JS events to work and other attributes from main events page to be attached to the shortcode template
- Restored ability to query Google and obtain the longitude and latitude of venues (our thanks to @themal and many others for flagging this problem)
Tweaks
- Distance filter now is displayed as soon as there's a value on the location field
- Trigger an event
map-created.tribewhen a map instance is created - Add link to the API tab when the Google Maps API limit is reached
- Add routes with
tribe_events_rewrite_rules_customfilter instead ofgenerate_rewrite_rules - Improved validation of the "Week Day Format" option in the Display settings so that blank values are no longer accepted
Features
- Add new utility functions tribe_is_events_home and tribe_is_events_front_page similar to native WP is_home and is_front_page [42195]
Fixes
- Avoid issues when importing multiple organizers that specify images [96354]
- Make sure latitude and longitude information from iCal feeds is used if available [96363]
- Fixed an issue that prevented EA from importing images attached to Facebook events [96393]
- Remove the duplicate filter call that was running twice for
tribe_rest_venue_data[96090]
Tweaks
- Added new
tribe_aggregator_import_event_image,tribe_aggregator_import_venue_imageandtribe_aggregator_import_organizer_imagefilter so that users can control whether, during EA imports, images should be attached to post or not [96393] - Made it possible to translate the iCal feed's description field (props @gafderks) [96677]
- Improved escaping of map IDs (props LucaPipolo) [96772]
- Added new REST API endpoint that allows looking up organizers by slug instead of ID at the path
organizers/by-slug/{slug}/, it has the same functionality as the endpointorganizers/{ID}[96088] - Added new REST API endpoint that allows looking up venues by slug instead of ID at the path
venues/by-slug/{slug}/, it has the same functionality as the endpointvenues/{ID}[96088] - Added
slugto the REST API responses for organizer and venue data [96088] - Added
slugto the REST API parameters allowed to use when inserting or updating an organizer or event [96088] - Added action:
tribe_events_venue_save[96069] - Added action:
tribe_events_organizer_save[96069] - Added filter:
tribe_events_rest_venue_prepare_postarr[96069] - Added filter:
tribe_events_rest_organizer_prepare_postarr[96069] - Old
tribe_rest_venue_datafilter was passing the venue and the event two the second parameter because of the duplication. Now it has the second parameter as $venue, third parameter as $event if event ID was provided [96090]
Languages
- 5 new strings added, 30 updated, 0 fuzzied, and 0 obsoleted
Fixes
- Ensured that only users of the editor or administrator roles can delete, check-in, and undo check-ins on tickets (props to @skamath for reporting this!)
Tweaks
- Addressed some issues where the ticket form would sometimes show up even when all tickets' end-sale dates had passed (props to @reckling and others for reporting this!)
- Introduced the
tribe_tickets_caps_can_manage_attendeesfilter for customizing what user capabilities are required for managing attendees
Fixes
- Modified the plugin's logic of hiding subsequent recurring events to avoid SQL errors under some conditions (props @garrettjohnson)
Tweaks
- Made the caching of Map View's geofence data more consistent in terms of when it invalidates; this should improve performance (props to many users reporting details of this issue in the forums!)
- Altered means of displaying the date within the countdown widget's settings to remove the potential for uncaught exceptions (our thanks to Otto for highlighting this problem)
- Added filter
tribe_geoloc_pre_get_min_max_coordsto let plugins override the min/max coords logic to avoid hitting MySQL - Ensure
Geo_Loc::get_min_max_coordsalways returns an array, to prevent potential JS errors for properties that are not defined or a variable that is not an object
Fixes
- Fixed broken datepicker fields in the Eventbrite ticket-creation metabox
Fixes
- Restore correct ordering of event lists (our thanks to Jonathan Vogel-Borne and others for highlighting this issue)
Security
- Ensure filter values are properly escaped before use in queries
Fixes
- Select2 for Widget filtering allows Searching correctly again
- Altered the collapse_sql logic to avoid SQL errors relating to query ordering (our thanks to Luke Kenny for flagging this problem)
- Added code to avoid running the min/max coordinates query when event IDs are available (doing so resulted in database errors - props @afragen)
- Fixed an issue that would generate warnings on PHP 7.1+ (props to @tanumstrand)
- Fixed a typo in the Event List widget options
- Prevent a fatal if a non-truthy value is passed when calling tribe_is_recurring_event()
- Fixed strtotime() warnings on recurring events created past the last advance limit, props to Zoe for bringing this up
- Resolved an issue preventing us from using the correct singular or plural form for years within the recurrence UI (our thanks to websource for flagging this problem)
- Fixed an issue with the [tribe_events] shortcode's Day View where it wouldn't paginate unless the Tribe Bar was activated (props to @socialspdlc-org for highlighting this issue)
- Fixed some recurring event meta data-related code that would sometimes produce PHP notices when viewing events that recurred yearly (thanks @alistek for reporting this bug)
- Fixed the mini calendar widget and shortcode's pagination to ensure that each month shows a correct list of events (thanks to @kdr4phtc for reporting this)
Tweaks
- Added Google Maps API key to all Google Maps URLs when the key is available, allowing maps to load more reliably on some hosting environments (props to @sfdfortnight, @thor, and many others for reporting this!)
- Modified recurrence dependency trigger to work with events with no ID
Languages
- 0 new strings added, 135 updated, 0 fuzzied, and 1 obsoleted
Fixes
- Fixed an issue where EA imports might not correctly create venues for iCalendar imports (thanks @starweb and others for highlighting this issue) [94323]
- Fixed an issue where Month View wouldn't render correctly in X Theme with the "Events template" option set to "Default Page Template" [92554]
- Fixed a WPML incompatibility issue where language could be switched to the wrong one (thanks @dgwatkins) [94732]
Tweaks
- Added the
tribe_events_x_theme_force_full_content()filter to let users disable X Theme compatibility code [92554]
Languages
- 0 new strings added, 2 updated, 0 fuzzied, and 0 obsoleted