4.6.22
2018-08-22 Feature2 Fix9 Tweak4Features
- Allow filtering events, in REST API requests, by their post ID with
include[94326] - Enable future event display to get all events in the future that have not started [70769]
Fixes
- Prevent subsequent CSV imports from duplicating events in some instances [102745]
- The "Import events but preserve local changes to event fields" Event Aggregator change authority setting will now behave as expected [87443]
- Multiple fixes regarding linked post types (e.g. Organizers and custom post types) - props to @natureslens and others for reporting these [105116]: Now correctly saves in their drag-and-drop order; Deprecated the functions added in version 4.6.13 that previously attempted to fix ordering logic but was not done in a backwards-compatible way:
get_order_meta_key()andtribe_sanitize_organizers(); We no longer rely on a separate postmeta value dedicated to ordering linked posts (e.g._EventOrganizerID_Order), and you may want to remove all such values from your database after re-saving any events that have linked posts and their ordering is important;tribe_get_linked_posts_by_post_type()now works as expected, no longer returning zero results in error, nor returning all of the post type's posts if there are none linked. Thetribe_events_return_all_linked_posts_if_nonefilter was added, as it is necessary for this fix.; Editing an existing event no longer loses the linked posts just because they were not part of the submission. Example of the bug in prior versions: If organizers are editable in the wp-admin event edit screen but not on the Community Events "event edit" form (via template override or other custom code), all pre-existing organizers were removed in error. - Handle the case where Event Aggregator import queues might get stuck when deleting import records [111856]
- Only show admin notice when it is a top-level page with the event slug, thanks to MikeNGarrett for the code fix! [111186]
- Change template_redirect to an action for some legacy view redirects, thanks @barryceelen! [110463]
- Correctly import and set Organizers for iCal and ICS files Event Aggregator imports [96059]
- Retain category title in month view and month view shortcode, thanks corthoover for the first report [108258]
- Fix the classic header option not working. Thanks @hanemac, David Luyendyk and others for flagging this! [111672]
Tweaks
- Namespace javascript debug function to prevent conflicts causing a function found, thanks to Tom-Mulvey for the fix [110462]
- Add venue name to address string for iCal and gCal export, thanks for the coding from @sylviavanos [110464]
- Drop the order from the query WPML linked query as it is set later in the method, thanks to @dgwatkins for the PR [110459]
- Display JS debug messages only if setting is set or through the
tribe_events_js_debugfilter. Thanks to Rob, @aand and others for flagging this! [82781]
