2.2.0

2018-07-30 Tweak6 Feature12 Fix15

Tweaks

  • This release requires a number of updates to our add-ons for full compatiblity due to the optimization of how we handle donor session data and additional refactoring of the database schema. Please ensure you update all your add-ons after updating for full compatibility. If you have any issues with the update feel free to reach out to our support. [GiveWP Plugin Support](https://givewp.com/support/)
  • Improved the database update process so that even if AJAX is inaccessible by the plugin updates can still be ran. The only difference is that admins will have to remain on the page while the upgrade runs. AJAX was used for background updates, but if it's not able to be used the background process is removed and a notice displays prompting the admin to remain on page. [#3420](https://github.com/wordimpress/give/issues/3420), [#3393](https://github.com/wordimpress/give/issues/3393)
  • Refactored the Give "_give_paymentmeta" table name to "_give_donationmeta" to prevent naming conflicts with plugins like Restrict Content Pro and potentially others that use the same custom table name. [#2710](https://github.com/WordImpress/Give/issues/2710)
  • Refactored the multiple methods to delete donors so now there is a singular method for donor deletion that is extensible. For more info see [this developers blog post](https://developers.givewp.com/2018/07/24/give-2-2-0-singular-method-for-donor-deletion-process/). [#2347](https://github.com/WordImpress/Give/issues/2347)
  • The "Terms and Conditions" label now accepts HTML so you can insert links to more info and content. This is particularly useful for improved GDPR compliance. [#3225](https://github.com/WordImpress/Give/issues/3225)
  • Core now uses the form's currency in the process of donation creation. [#3401](https://github.com/WordImpress/Give/issues/3401)

Features

  • The Donor Wall is here. Now you can display your donors, their comment, and the amount they donated in a customizable shortcode. [#2900](https://github.com/WordImpress/Give/issues/2900), [#3312](https://github.com/WordImpress/Give/issues/3312)
  • You can now enable Title Prefixes, or also commonly called "Honorifics" (Mr., Mrs., Dr.), for donors in a flexible and customizable way. [#3011](https://github.com/WordImpress/Give/issues/3011)
  • Refactored how Give stores sessions in a much more cache-friendly way using a new custom table called "_give_sessions". For more information please see the [this Give developers post](https://developers.givewp.com/2018/07/24/give-2-2-0-revamp-session/) for more information.
  • Country and State dropdowns are now using searchable dropdowns in wp-admin plugin settings. [#2423](https://github.com/WordImpress/Give/issues/2423)
  • The following email tags are added in this feature: {admin_email}, {offline_mailing_address}, {site_url}. [#3070](https://github.com/WordImpress/Give/pull/3070), [#3378](https://github.com/WordImpress/Give/pull/3378)
  • Added a more complete list of currencies from around the world. [#3367](https://github.com/wordimpress/give/issues/3367)
  • Added a new helper function give_form_get_default_level( $form_id ) for developers to more easily retrieve a donation form's default level ID. [#3397](https://github.com/wordimpress/give/issues/3397)
  • An additional "exclude" option has been added to NOT include a donation form by default on the form grid. [#3206](https://github.com/wordimpress/give/issues/3206)
  • You can now duplicate donation forms on the donation form listing screen in wp-admin. [#3331](https://github.com/wordimpress/give/issues/3331)
  • Donation receipts are now loaded via AJAX to prevent caching conflicts. [#3412](https://github.com/wordimpress/give/issues/3412)
  • The "Company Name" field is now able to be updated in wp-admin on the donation details screen. [#3413](https://github.com/wordimpress/give/issues/3413)
  • There is now a plugin deactivation screen that displays with a survey to help us improve the plugin. [#648](https://github.com/wordimpress/give/issues/648)

Fixes

  • Gutenberg blocks are now fully functional in anticipation of WP 5.0 release. [#3518](https://github.com/wordimpress/give/issues/3518)
  • The address email tag is now appropriately formatted so the address fields appear in the correct order. [#2790](https://github.com/wordimpress/give/issues/2790)
  • Exporting and Importing donations is now in sync without any errors to make migrating data between environments easier. [#2135](https://github.com/wordimpress/give/issues/2135)
  • Resolved issues with the newsletter sign up on the Give activation welcome screen. [#2322](https://github.com/wordimpress/give/issues/2322)
  • All email tags listed below the email template WYSIWYG editor are now usable. Previously some were not rendering properly because of the type of email being edited. [#2997](https://github.com/wordimpress/give/issues/2997)
  • Modal and button mode donations forms were not properly displaying payment errors within the modal leading to potential donor confusion. [#3006](https://github.com/wordimpress/give/issues/3006)
  • Donation form earning now update when a donation amount is updated so stats remain correct. [#3085](https://github.com/wordimpress/give/issues/3085)
  • When using a dropdown multilevel select type in Button mode the dropdown would incorrectly display above the button. [#3215](https://github.com/wordimpress/give/issues/3215)
  • Removed the restriction of when a donation form is created from the PDF receipt export report found under Donations > Tools > Export > Export PDF of Donations and Income. [#3395](https://github.com/wordimpress/give/issues/3395)
  • Updated TCPDF to support PHP 7.2. [#3411](https://github.com/wordimpress/give/issues/3411)
  • Added minor CSS to fix conflict with the popular Enfold theme. [#3403](https://github.com/wordimpress/give/issues/3403)
  • Removed the Give Shortcode button from the editor for creating emails. [#3422](https://github.com/wordimpress/give/issues/3422)
  • Resolved modal background scrolling on iOS. [#3424](https://github.com/wordimpress/give/issues/3424)
  • When activating an add-on from the Give menu within the plugin page it incorrectly redirected the admin back to the All menu tab. [#3438](https://github.com/wordimpress/give/issues/3438)
  • Format dates to WordPress date_format in the donation admin screens. [#3502](https://github.com/wordimpress/give/issues/3502)