• Resolved Geoff Graham

    (@geoffgraham)


    Dear Triberians, today is a great one. The Events Calendar 4.0 is finally here and we’re thrilled for you to have it.

    Version 4.0 is a huge milestone for all of us here at Modern Tribe. Consider what’s happened in the two years since Version 3.0 was released:

    • The plugin surpassed 1 million downloads, then 2 million shortly after
    • We completed nearly 900?new features
    • We squashed more than 1,000 bugs over 33 releases
    • We fielded over 35,000 topics in our forums
    • We shared countless cat gifs in with each other over Slack

    Needless to say,?we’ve poured a lot of?love into The Events Calendar heading into Version 4.0. We hope you love it as much as we do.

    There’s a whole lot of awesomeness to cover here and we’ll outline every single change here in this post, including those in the premium add-ons. On that same note, it’s important to know that The Events Calendar 4.0 is a radical departure?from the previous version and, as such, you will want to test the latest plugins in a test environment before updating. If you have customized the plugin or any of the add-ons in the past, then you will most definitely want to exercise caution and test this update against your changes before updating on a live site.

    Alright, let’s dig into what’s new:

    • Security – A TON of escaping was added to our codebase thanks to the efforts of the always-helpful Andy Fragen (@afragen)
    • Feature – Moved the Ticket framework code into its own plugin (event-tickets)
    • Feature – The event cost now supports more international formats with the addition of the tribe_events_cost_separators filter (Thank you remokrol for bringing this to our attention!)
    • Feature – Added support for the twentysixteen theme
    • Feature – Created a new Add-Ons tab in Settings so that TEC add-ons can have a consolidated settings tab
    • Feature – Improve the date formats UI by providing example output for each selected format
    • Tweak – Restructured TEC’s core settings code for reusability with other standalone plugins like Event Tickets
    • Tweak – Deprecate old JS event names in favor of a new JS event naming standard. Example: deprecated tribe_ev_runAjax in favor of run-ajax.tribe
    • Tweak – Consolidated import pages for TEC and add-ons
    • Tweak – When suggesting a UTF-8 compatibility CSV formatting tool, point to one that still exists
    • Tweak – Added the ability to filter attendees CSV items via tribe_events_tickets_attendees_csv_items (Props to @bostondv on GitHub for this patch!)
    • Tweak – Updated all excerpt output to use tribe_events_get_the_excerpt() to ensure a consistent display of excerpt content (Cheers to Joseph to pointing this out!)
    • Tweak – Add support for wp_get_document_title in response to the WordPress 4.4 deprecation of wp_title
    • Tweak – Check post creation permissions before letting users create venues and organizers from the event meta box
    • Tweak – Only display data separators between fields that have data when rendering organizers (Thank you Bud for highlighting this issue!)
    • Tweak – When a user cannot create organizers, prevent the auto-selection of organizers when editing an event
    • Tweak – Remove microformat CSS classes from templates and replace with namespaced content-relevant CSS classes
    • Tweak – Changed the “updated” CSS class to “tribe-updated” so that it is properly namespaced (Thank you vijayrajesh!)
    • Tweak – The Plugin Update Checker will now auto-save valid plugin keys (Thanks to Denon for originally bringing this up!)
    • Tweak – Cleaned up the output of JSON-LD data. Filterable via the new tribe_google_data_markup_json filter
    • Tweak – Drop the use of the generic CSS class “placeholder” in favor of “tribe-event-placeholder” (Thanks to Marc on the forums!)
    • Tweak – Adjusted the CSS padding on Admin Menu items for Events
    • Tweak – Various codesniffer fixes
    • Tweak – Error messages for empty Venue names
    • Tweak – Improve our responsiveness for the widget mini calendar, allowing smaller sidebars.
    • Tweak – tribe_get_vanue_link() no longer echoes if you ask it to return an element
    • Tweak – No longer retrieve empty costs when fetching all costs for all events
    • Tweak – Change the priority of bootstrapping the-events-calendar to ensure it occurs before any of the TEC addons in the event some addons are upgraded to v4.0 later than TEC
    • Tweak – Adjust the logic used for adding a noindex/follow tag to event views
    • Tweak – No longer hiding default address fields when default venues are selected when Pro is active
    • Fix – Resolved issue where the iCal feed did not provide an appropriately formatted timezone in some cases (Cheers to Matt for the report!)
    • Fix – Added support for translating some previously untranslatable strings (Props to tititou36, media325, and Stef!)
    • Fix – Prevented duplicate CSS IDs on the mini calendars (Cheers to Corrado for the help!)
    • Fix – Fixed bug causing tribe_get_single_ical_link() and tribe_get_ical_link() to use the same URL when it shouldn’t (Props to Ben Byrne @drywall on Twitter for the heads up!)
    • Fix – Fixed issue where the “Add another organizer” text wasn’t using the correct singular label (Thank you MIKE for the report!)
    • Fix – Various CSS fixes for twenty(ten-fifteen)
    • Fix – Improved our handling of get_current_screen() across the plugin, avoiding notices and warnings (Thank you Mike for the help!)
    • Fix – Fixed bug where accessing object properties on a non object errored out when saving event meta (props to @dalethedeveloper on GitHub for this fix!)
    • Fix – Fixed bug where organizer ID meta attached sometimes included a blank record. That blank record is no longer returned in tribe_get_organizer_ids()
    • Fix – Fixed error message returned when tabbing away from a blank event name meta box so that it properly indicates that an event name is required (Our thanks to @tapan29bd for this fix!)
    • Fix – Resolved issue where Timezone event start/end date property name strings were malformed which guaranteed a a call to get_post_meta for Timezone date strings
    • Fix – Fixed CSS issue where the month view calendar could sometimes extend beyond the edge of the page when Skeleton Styles were enabled
    • Fix – Fixed a problem where iCal data was generated with incorrect dates in the case of some all days events (thanks to Matt for highlighting this)
    • Fix – Resolved a problem causing the previous month view to appear when it should not
    • Fix – Fixed issue in mobile month view where date was missing from heading
    • Fix – Resolved issue that caused /events/ to 404 if it was visited on a new install before hitting “Save” on the Events > Settings > Display page
    • Deprecated – The Tribe__Events__Main::defaultValueReplaceEnabled() method is being deprecated in favor of tribe_get_option(‘defaultValueReplace’). Schedules for removal in v4.5
    • Deprecated – The tribe_event_link() has been deprecated in favor of tribe_get_event_link(). Scheduled for removal in 5.0
    • Deprecated – The third parameter of tribe_get_organizer_link() (the $echo parameter) has been deprecated and is scheduled for removal in 5.0
    • Deprecated – Tribe__Events__Abstract_Deactivation in favor of Tribe__Abstract_Deactivation
    • Deprecated – Tribe__Events__Admin__Helpers in favor of Tribe__Admin__Helpers
    • Deprecated – Tribe__Events__App_Shop in favor of Tribe__App_Shop
    • Deprecated – Tribe__Events__Autoloader in favor of Tribe__Autoloader
    • Deprecated – Tribe__Events__Cache in favor of Tribe__Cache
    • Deprecated – Tribe__Events__Cache_Listener in favor of Tribe__Cache_Listener
    • Deprecated – Tribe__Events__Changelog_Reader in favor of Tribe__Changelog_Reader
    • Deprecated – Tribe__Events__Credits in favor of Tribe__Credits
    • Deprecated – Tribe__Events__Date_Utils in favor of Tribe__Date_Utils
    • Deprecated – Tribe__Events__Field in favor of Tribe__Field
    • Deprecated – Tribe__Events__Settings in favor of Tribe__Settings
    • Deprecated – Tribe__Events__Settings_Tab in favor of Tribe__Settings_Tab
    • Deprecated – Tribe__Events__Support in favor of Tribe__Support
    • Deprecated – Tribe__Events__Template_Part_Cache in favor of Tribe__Template_Part_Cache
    • Deprecated – Tribe__Events__Tickets__Attendees_Table in favor of Tribe__Tickets__Attendees_Table in the event-tickets plugin
    • Deprecated – Tribe__Events__Tickets__Metabox in favor of Tribe__Tickets__Metabox in the event-tickets plugin
    • Deprecated – Tribe__Events__Tickets__Ticket_Object in favor of Tribe__Tickets__Ticket_Object in the event-tickets plugin
    • Deprecated – Tribe__Events__Tickets__Tickets in favor of Tribe__Tickets__Tickets in the event-tickets plugin
    • Deprecated – Tribe__Events__Tickets__Tickets_Pro in favor of Tribe__Tickets__Tickets_Handler in the event-tickets plugin
    • Deprecated – Tribe__Events__Validate in favor of Tribe__Validate
    • Deprecated – Tribe__Events__View_Helpers in favor of Tribe__View_Helpers
    • Deprecated – Tribe__Events__Main::OPTIONNAME in favor of Tribe__Main::OPTIONNAME
    • Deprecated – Tribe__Events__Main::OPTIONNAMENETWORK in favor of Tribe__Main::OPTIONNAMENETWORK
    • Deprecated – Tribe__Events__Main::addHelpAdminMenuItem() in favor of Tribe__Settings_Manager::add_help_admin_menu_item()
    • Deprecated – Tribe__Events__Main::addNetworkOptionsPage() in favor of Tribe__Settings_Manager::add_network_options_page()
    • Deprecated – Tribe__Events__Main::array_insert_after_key() in favor of Tribe__Main::array_insert_after_key()
    • Deprecated – Tribe__Events__Main::array_insert_before_key() in favor of Tribe__Main::array_insert_before_key()
    • Deprecated – Tribe__Events__Main::debug() in favor of Tribe__Debug::debug()
    • Deprecated – Tribe__Events__Main::defaultValueReplaceEnabled() in favor of tribe_get_option( ‘defaultValueReplace’ )
    • Deprecated – Tribe__Events__Main::doHelpTab() in favor of Tribe__Settings_Manager::do_help_tab()
    • Deprecated – Tribe__Events__Main::doNetworkSettingTab() in favor of Tribe__Settings_Manager::do_network_settings_tab()
    • Deprecated – Tribe__Events__Main::doSettingTabs() in favor of Tribe__Settings_Manager::do_setting_tabs()
    • Deprecated – Tribe__Events__Main::do_licenses_tab() in favor of Tribe__Settings_Manager::do_licenses_tab()
    • Deprecated – Tribe__Events__Main::getNetworkOption() in favor of Tribe__Settings_Manager::get_network_option()
    • Deprecated – Tribe__Events__Main::getNetworkOptions() in favor of Tribe__Settings_Manager::get_network_options()
    • Deprecated – Tribe__Events__Main::getNotices() in favor of Tribe__Notices::get()
    • Deprecated – Tribe__Events__Main::getOption() in favor of Tribe__Settings_Manager::get_option()
    • Deprecated – Tribe__Events__Main::getOptions() in favor of Tribe__Settings_Manager::get_options()
    • Deprecated – Tribe__Events__Main::have_addons() in favor of Tribe__Settings_Manager::have_addons()
    • Deprecated – Tribe__Events__Main::isNotice() in favor of Tribe__Notices::is_notice()
    • Deprecated – Tribe__Events__Main::pluginDir in favor of Tribe__Events__Main::plugin_dir
    • Deprecated – Tribe__Events__Main::pluginName in favor of Tribe__Events__Main::plugin_name
    • Deprecated – Tribe__Events__Main::pluginPath in favor of Tribe__Events__Main::plugin_path
    • Deprecated – Tribe__Events__Main::pluginUrl in favor of Tribe__Events__Main::plugin_url
    • Deprecated – Tribe__Events__Main::removeNotice() in favor of Tribe__Notices::remove_notice()
    • Deprecated – Tribe__Events__Main::renderDebug() in favor of Tribe__Debug::render()
    • Deprecated – Tribe__Events__Main::saveAllTabsHidden() in favor of Tribe__Settings_Manager::save_all_tabs_hidden()
    • Deprecated – Tribe__Events__Main::setNetworkOptions() in favor of Tribe__Settings_Manager::set_network_options()
    • Deprecated – Tribe__Events__Main::setNotice() in favor of Tribe__Notices::set_notice()
    • Deprecated – Tribe__Events__Main::truncate() in favor of tribe_events_get_the_excerpt()
    • Deprecated – tribe_event_beginning_of_day() in favor of tribe_beginning_of_day()
    • Deprecated – tribe_event_end_of_day() in favor of tribe_end_of_day()
    • Deprecated – tribe_event_format_date() in favor of tribe_format_date()
    • Deprecated – tribe_events_the_notices() in favor of tribe_the_notices()

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Release: The Events Calendar 4.0’ is closed to new replies.