GiveWP
Fixes
- Ensure when a donation form's "Registration" option is set to "Login" that it does not appear incorrectly as optional on the donation form. [#4045](https://github.com/impress-org/give/issues/4045)
- Prevent a PHP warning from displaying in the System Info window due to new host detection login in the previous release. [#4041](https://github.com/impress-org/give/issues/4041)
- Ensure that logged in users without donor's associated with their WP users can properly donate. This is a regretion fix from the previous version 2.4.2 release. [#4039](https://github.com/impress-org/give/issues/4039)
- Resolved an incompatibility with Elementor's "Finder" functionality. [#3912](https://github.com/impress-org/give/issues/3912)
Tweaks
- Adjusted how web hosts are detected in WP-Admin > Donations > Tools > System Info to improve accuracy. [#3356](https://github.com/impress-org/give/issues/3356)
- Added
get_goalwithin theGive_Donate_Formfor developers. [#4020](https://github.com/impress-org/give/issues/4020)
Fixes
- License statuses were not properly displaying in WP-Admin > Donations > Tools > System Info and that has been fixed. [#3975](https://github.com/impress-org/give/issues/3975)
- The label "State" incorrectly displayed on the admin donor details screen. [#3995](https://github.com/impress-org/give/issues/3995)
- Resolved a tooltip title that was not translatable. [#3996](https://github.com/impress-org/give/issues/3996)
- Date fields now have better support for international date formats. [#4000](https://github.com/impress-org/give/issues/4000)
- Resolve a mislabeled name attribute for the donation amount field within donation forms. [#4001](https://github.com/impress-org/give/issues/4001)
- Improved support for varying capitalizations within donor's emails when a repeat donation happens. This update will prevent case-insensitive matches being incorrectly compared. [#4025](https://github.com/impress-org/give/issues/4025)
- Resolved incorrect setting of the "autocomplete" attribute on certain dropdown fields. [#4028](https://github.com/impress-org/give/issues/4028)
Features
- Links to view receipts and subscriptions no longer expire. This prevents unnecessary errors and login screens for donors who attempt to access donations and subscription history. [#3956](https://github.com/impress-org/give/issues/3956), [#3963](https://github.com/impress-org/give/issues/3963), [#3964](https://github.com/impress-org/give/issues/3964)
Fixes
- Ensure that browser autofill works for the Billing Country and Address 1 and Address 2 fields. [#3830](https://github.com/impress-org/give/issues/3830)
- Additional checks are now in place to ensure the plugin's custom tables properly are created when upgrading from very old versions. [#3966](https://github.com/impress-org/give/issues/3966)
- The
[give_login]shortcode's "click here to logout" link to log me out was not correctly working. Now the link properly logs out the user when clicked. [#3957](https://github.com/impress-org/give/issues/3957) - Resolved an issue with the Donation Form title displaying incorrectly in widgets. [#3947](https://github.com/impress-org/give/issues/3947)
- The API log was not displaying the proper log count for entries. [#3924](https://github.com/impress-org/give/issues/3924)
- JSON files can now properly be uploaded to the Donations importer in WP 5.0+. [#3907](https://github.com/impress-org/give/issues/3907)
- Resolved a conflict with the X theme and accompanying Cornerstone page builder plugin and the Form Grid shortcode on phones and touch devices preventing the modal from opening. [#3905](https://github.com/impress-org/give/issues/3905)
- There was an issue occuring causing the donor to click twice into a donation form field after they entered a custom donation amount. This has been resolved so the donor can immediately click into a form field after leaving a custom amount. [#3889](https://github.com/impress-org/give/issues/3889)
- When attempting to export between two dates an error "No data found for export parameters." was displaying incorrectly and has been resolved. [#3864](https://github.com/impress-org/give/issues/3864)
- A frontend JS error no longer happens if the offline payment gateway is enable globally. [#3959](https://github.com/impress-org/give/issues/3959)
- There was a PHP warning occuring when editing a donor's address that is now resolved. [#3961](https://github.com/impress-org/give/issues/3961)
- When exporting in certain cases the donor's address would be incorrect if the donor had the same ID as a WP user. This was due to pre-2.0 backwards compatibility code which has since been removed to correct the issue. [#3971](https://github.com/impress-org/give/issues/3971)
- Added checks to prevent a PHP "Undefined index: post_type" notice. [#3981](https://github.com/impress-org/give/issues/3981)
- Updated the email tag descriptions for
{name}and{company}to be more accurate and helpful. [#3943](https://github.com/impress-org/give/issues/3943) - Allow deletion of Address line 2 in French donation addresses on the donor details screen in WP-Admin. [#3940](https://github.com/impress-org/give/issues/3940)
Features
- Optimized the loading of the plugin's resources to achieve a much more performant fundraising platform. to decrease load times, optimize queries, and decrease processing power. [#3871](https://github.com/impress-org/give/issues/3871), [#3929](https://github.com/impress-org/give/issues/3929)
- Added the ability to sort the Donation Form Grid based on goal progress. [#3818](https://github.com/impress-org/give/issues/3818)
- Improved the how "Anonymous" donors appear and the ordering of the Donor Wall. [#3826](https://github.com/impress-org/give/issues/3826), [#3816](https://github.com/impress-org/give/issues/3816)
- Added a search and filter utility within WP-Admin > Donations > Forms to easily find donation forms by goal status, published date, and form name or ID. [#3845](https://github.com/impress-org/give/issues/3845)
- Added the ability to import a donor's IP address when using import tool. [#3918](https://github.com/impress-org/give/issues/3918)
- Added advanced search filters for the Donations > Donors screen within WP-Admin. [#1882](https://github.com/impress-org/give/issues/1882)
- The Donations > Donors screen within WP-Admin now displays the donor's Gravatar image based on their email. [#3777](https://github.com/impress-org/give/issues/3777)
Tweaks
- The import sample data has been improved to have more realistic example donor names, campaigns, and donation form configurations. [#3913](https://github.com/impress-org/give/issues/3913)
- The donation form title will now appears at the top of modal donation forms screens for a better donor experience. [#3881](https://github.com/impress-org/give/issues/3881)
- We changed the default text for Anonymous Donation checkbox and tooltips to optimize the donor experience in understanding what the checkbox means. [#3911](https://github.com/impress-org/give/issues/3911)
- Reviewed PHP 7.2 compatibility, identified false positives, and resolved a few minor compatibility flags. [#3919](https://github.com/impress-org/give/issues/3919)
Fixes
- Resolved an issue with Sessions not being properly set when AJAX was in use. [#3941](https://github.com/impress-org/give/issues/3941)
- Resolved issue with give_recount_form_income_donation() using incorrectly the
post_per_pagerather thannumberwhichGive_Payment_Query()expects. [#2973](https://github.com/impress-org/give/issues/2973) - Sourcemaps now again generate properly for easy SCSS line number references for developers. [#3860](https://github.com/impress-org/give/issues/3860)
- The {payment_total} tag was incorrectly outputting HTML characters rather than currency symbols when used within the email subject. [#3922](https://github.com/impress-org/give/issues/3922)
- Searching donations by the donor's first and last name in WP-Admin is now displaying accurate results. [#3927](https://github.com/impress-org/give/issues/3927)
Security
- Prevent Stored XSS vulnerability in donor names by adding additional escaping to ensure security when viewing donor records in WP-Admin. We take security seriously and would like to thank GoDaddy and Sucuri for reporting and assisting with this fix. Thanks also to the WordPress Plugin Review Team for allowing a force push of all security patches to protect all Give users. For more detailed information see here: https://blog.sucuri.net/2019/05/wordpress-plugin-give-stored-xss-for-donors.html
Features
- Gutenberg blocks are here! You can now add donation forms, a donor wall, donation form grids and more to your Gutenberg (Block Editor) powered posts. [#3813](https://github.com/impress-org/give/issues/3813), [#3697](https://github.com/impress-org/give/issues/3697), [#3887](https://github.com/impress-org/give/issues/3887)
- You can now more easily search your donation records by donor name, email, or donation ID in WP-Admin. [#3806](https://github.com/impress-org/give/issues/3806)
- Give now registers its custom tables on plugin activation instead of multiple checks when DB class creates to increase performance. [#3854](https://github.com/impress-org/give/issues/3854)
- Added an advanced option to display Babel polyfill for sites that don't require it. [#3658](https://github.com/impress-org/give/issues/3658)
Tweaks
- Removed the "Quick Edit" feature of donation forms because it wasn't very useful and not often used. [#2485](https://github.com/impress-org/give/issues/2485)
- Adjusted the HTML for the "Create an account" checkbox to be consistent with other donation form checkbox elements for consistency. [#3499](https://github.com/impress-org/give/issues/3499)
- Updated the default currency formatting for KZT, KGS, KWD, JOD, TRY, CHF, SEK, NOK, HUF, DKK, CZK, BRL to be accurate according to the most widely used formatted for each currency. [#3903](https://github.com/impress-org/give/issues/3903)
- Changed Give's session cookie prefix to be inline with WP's naming convention to prevent conflicts with hosts like Panteon's caching logic. [#3819](https://github.com/impress-org/give/issues/3819)
Fixes
- Resolved an issue with Recurring donations renewal receipt links displaying the most recent donation incorrectly rather than the renewal information. [#3778](https://github.com/impress-org/give/issues/3778)
- Ensure that "nonce verification" errors don't display when logging in and out between donations. [#3820](https://github.com/impress-org/give/issues/3820)
- Ensure that mobile-only text displays properly in the
[donation_history]shortcode. [#3829](https://github.com/impress-org/give/issues/3829) - Prevent nonce error when deleting a donor from the donors screen. [#3832](https://github.com/impress-org/give/issues/3832)
- Correct the select page placeholder text on "Subscription Page" select field to "Choose a page" in Give's General Settings page. [#3833](https://github.com/impress-org/give/issues/3833)
- Removed the apostrophe as a thousand separator for Taiwan New Dollars. [#3840](https://github.com/impress-org/give/issues/3840)
- Removed usage of PHP 5.4+ shorthand bracket array declarations for compatibility with lower PHP versions. [#3847](https://github.com/impress-org/give/issues/3847)
- The "cat" and "tag" shortcode attributes now properly work to display total earnings in the
[give_totals]shortcode when the "ID" attribute is not set. [#3879](https://github.com/impress-org/give/issues/3879) - Resolved rare scenario when a donor attempts to donate when a cookie generated via the email access link is expired and is using the same browser to process a donation. [#3886](https://github.com/impress-org/give/issues/3886)
- Updated the formatting for the Russian Ruble to be correct. [#3893](https://github.com/impress-org/give/issues/3893)
- Ensure that deleting the test data at Donations > Tools > Data (tab) deletes donations made when give is in test mode, as well as donations made with the test gateway is in live mode. [#2473](https://github.com/impress-org/give/issues/2473)
- Ensure that when a subsite is deleted in a multisite environment that Give's custom tables are also removed. [#3790](https://github.com/impress-org/give/issues/3790)
- Ensure that when a subsite is created in a multisite environment that Give autocompletes all DB updates. [#3795](https://github.com/impress-org/give/issues/3795)
- Refactored the database upgrade "v201_add_missing_donors" callback to prevent a rare memory exhausted issue. [#3797](https://github.com/impress-org/give/issues/3797)
Features
- This release includes an upgrade routine to move comments from WordPress core tables to our own custom tables. This was done to resolve conflicts with various plugins incorrectly flagging Give's comments as spam. [Developer's Post - Custom Comment Tables](https://developers.givewp.com/2018/10/08/give-2-3-0-custom-comment-tables/), [#3627](https://github.com/impress-org/Give/issues/3627), [#3589](https://github.com/impress-org/Give/issues/3589), [#3604](https://github.com/impress-org/Give/issues/3604), [#3588](https://github.com/impress-org/Give/issues/3588)
- Admins now have the ability to send notes to donors via a customizable email within the donation details screen. [#2159](https://github.com/impress-org/Give/issues/2159)
- A real time view of currency number formatting displays when modifying the setting. [#3490](https://github.com/impress-org/Give/issues/3490)
- You can now more easily copy form shortcodes by clicking a new "Copy Shortcode" button. [#2602](https://github.com/impress-org/Give/issues/2602)
- There is now a Gutenberg block for the donor wall. [#3546](https://github.com/impress-org/Give/issues/3546)
- We've added a "Select All Fields" option within the donation exporter for easier select/deselect checkboxes. [#3649](https://github.com/impress-org/Give/issues/3649)
- There is now a {donor_comment} email tag to pass within emails. [#3655](https://github.com/impress-org/Give/issues/3655)
- Added the ability to export donation comments within the exporter. [#3743](https://github.com/impress-org/Give/issues/3743)
- Acceptance testing has been updated to include UI testing. [#3663](https://github.com/impress-org/Give/issues/3663)
Tweaks
- The donor wall gravatars have been optimized to now load after page load as to not slow down page speed. [#3758](https://github.com/impress-org/Give/issues/3758)
- Added filters to the donation exporter so developers can include custom data to export as needed. [#3709](https://github.com/impress-org/Give/issues/3709)
- Updated the "Card Name" field label to "Cardholder Name" to help donor's understand the field. [#3714](https://github.com/impress-org/Give/issues/3714)
- Dates are formatted to the WordPress date format found under Settings > General. [#3502](https://github.com/impress-org/Give/issues/3502)
- Optimized the loading of give options by setting autoload to no for most of Give's settings. [#2491](https://github.com/impress-org/Give/issues/2491)
- When changing payment gateways a nonce is verified for additional security. [#2580](https://github.com/impress-org/Give/issues/2580)
- The TCPDF library is now included with composer to help prevent conflicts with other plugins using the same library. [#3482](https://github.com/impress-org/Give/issues/3482)
- Currency settings now allow for 8 decimal points to better support Bitcoin and other crytocurrencies. [#3602](https://github.com/impress-org/Give/issues/3602)
Fixes
- The donor wall has now been modified so each individual donation displays separately. As well, we've added additional options in the shortcode to sort the donors. The styles have also been improved to be more cross-theme compatible. [#3744](https://github.com/impress-org/Give/issues/3744), [#3781](https://github.com/impress-org/Give/issues/3781)
- When the "Delete all data" tool is used, Give data is removed from all tables BUT Give settings and custom tables are not removed. When Give is uninstalled with the "Remove Data on Uninstall" selected under Settings > Advanced tab, Give data and settings are removed AND custom tables are removed. [#3638](https://github.com/impress-org/Give/issues/3638)
- Per-form emails now use the global email content as a starting point for easier customization. [#3653](https://github.com/impress-org/Give/issues/3653)
- When you delete a donation form the form's metadata is now removed from the database for better cleanup. [#3641](https://github.com/impress-org/Give/issues/3641)
- When Singapore is selected the City requirement is removed. [#3669](https://github.com/impress-org/Give/issues/3669)
- Allow selection of more than the first 30 forms in the Export tool. [#3674](https://github.com/impress-org/Give/issues/3674)
- Set autocomplete off to all the admin date fields. [#3675](https://github.com/impress-org/Give/issues/3675)
- Resolved typos in the "Dry Run" option of the importer. [#3699](https://github.com/impress-org/Give/issues/3699)
- Resolved jumping to a page number issue in Donations > Donors when entering a custom page number and pressing enter. [#3719](https://github.com/impress-org/Give/issues/3719)
- Do not display shortcode generator above form content. [#3739](https://github.com/impress-org/Give/issues/3739)
- Ensure date fields have the same placeholders throughout the admin interface. [#3757](https://github.com/impress-org/Give/issues/3757)
Security
- Prevent Stored XSS vulnerability in donor names by adding additional escaping to ensure security when viewing donor records in WP-Admin. We take security seriously and would like to thank GoDaddy and Sucuri for reporting and assisting with this fix. Thanks also to the WordPress Plugin Review Team for allowing a force push of all security patches to protect all Give users. For more detailed information see here: https://blog.sucuri.net/2019/05/wordpress-plugin-give-stored-xss-for-donors.html
Fixes
- Resolved a JS error preventing visitors from successfully logging into via a donation form. [#3684](https://github.com/WordImpress/Give/issues/3684)
- Typo within tooltip. [#3685](https://github.com/WordImpress/Give/issues/3685)
- Removed usage of deprecated jQuery load() method. [#3688](https://github.com/WordImpress/Give/issues/3688)
Tweaks
- This version contains an upgrade routine to correct issues with the donor wall in which past donors would incorrectly display on the wall regardless of whether they elected to be anonymous or not. As well, donors can now give to multiple donation forms and be anonymous on one and not anonymous on another.
- Added a test to check if all registered db updates complete automatically on fresh install. [#3628](https://github.com/wordimpress/give/issues/3628)
Fixes
- Ensure donors can be properly connected and disconnected to WP users in the donor details screen. [#3636](https://github.com/wordimpress/give/issues/3636)
- Prevent error notices from displaying in the Gutenberg editor. [#3575](https://github.com/wordimpress/give/issues/3575)
- Prevent JS errors when attempting to deactivate the plugin. [#3619](https://github.com/wordimpress/give/issues/3619)
- There is an upgrade routine to Donors that mark themselves as anonymous .
- PHP notices when recalculating total donation income amount. [#3611](https://github.com/wordimpress/give/issues/3611)
- Do not display encoded UTF-8 characters in donor comments. [#3631](https://github.com/wordimpress/give/issues/3631)
