Changelog
What's new in every release.
New features, improvements, fixes and security updates, straight from each plugin’s changelog. Updates install from your WordPress dashboard.
-
Donations & Fundraising 1.1.0
- Improved Now requires WordPress 6.5 or later and WooCommerce 8.5 or later.
- New Donation Form block for any page, post, template part and the Site Editor, with a campaign picker and live preview.
- New Cart and Checkout blocks show the donation form as a native inner block in the area matching your "Choose Position" setting; donations are added through the Store API.
- New Round-up "spare change" and "cover the processing fees" options at checkout (classic and block), off by default.
- New Dedications: donors can give "In honor of" or "In memory of" someone, with a message (per campaign, off by default).
- New "Donation thank you" email to donors (WooCommerce > Settings > Emails, off by default).
- New Donations report (WooCommerce > Donations) with totals per campaign and per day, and CSV export.
- New Setup checklist, live form preview, clearer settings sections and inline help.
- New Optional "Coupons never discount donations" (on for new stores) and "Enforce start dates" settings.
- New Optional "Delete data on uninstall" setting (off by default).
- New Multi-currency support for WooPayments Multi-Currency, WPML WooCommerce Multilingual, CURCY and Aelia; wpml-config.xml.
- Improved Campaign progress uses running totals instead of loading every order. Existing orders are counted once in the background; WooCommerce > Status > Tools > "Recalculate donation goal totals" recounts them.
- Improved Frontend assets load only where a donation form is shown; no dashicons or html-react-parser on the front end.
- Fixed Refunds and custom paid statuses are reflected in campaign totals.
- Fixed "Already raised" (initial goal amount) stays on the progress bar after the first donation. New per-campaign option "Count the already-raised amount toward the goal" (off by default) decides whether it also closes the campaign.
- Fixed Classic themes no longer show a "$0.00" price on donation products; related products on block themes keep their prices and buttons; shop grids show a Donate button.
- Fixed Keyboard and screen-reader access to the "buttons" amounts and the cause picker; labelled amount field; progress bar semantics.
- Fixed Donation lines keep quantity 1; campaigns that close while a donation is in the cart are removed from it; Order again keeps the amount and cause.
- Fixed Product settings are validated on save (amounts, dates, min/max) with a clear notice.
- Fixed The shortcode now works in AJAX-loaded content (quick view, infinite scroll) and the table-based cart position no longer breaks the layout.
- Improved Block sources (src/, package.json) are included; new filters and actions documented in the guide.
- Improved Tested up to WordPress 7.1 and WooCommerce 11.2.
-
Donations & Fundraising 1.0.4
- Fixed "Choose Donations" product selector (Cart, Checkout and Shortcode settings) no longer stays on "Searching…"; it now accepts the nonce WooCommerce's product search sends. The block editor picker works again too.
- Fixed Shortcode settings now keep and show the selected donations after saving, and display the generated shortcode.
- Fixed Donation form now appears on the block-based Cart and Checkout pages (the integration was registered too late to load).
- Fixed Donations are added to the cart on pages served from a full-page cache (LiteSpeed Cache, WP Rocket, Cloudflare and others), even when the cached page is older than a day.
- Fixed Donation form now shows in page-builder product layouts (Divi Theme Builder, Elementor Pro and similar) instead of WooCommerce's plain add-to-cart button.
- Fixed Date-based campaigns stay open through the whole end date, in the site's timezone. They previously closed up to two days early.
- Fixed With several donation forms on one page, each form submits its own amount and cause.
- Fixed The donation amount is checked on the server: it must be a valid positive amount, is rounded to the store's decimals, and is refused once a campaign has ended or reached its goal.
- Fixed Theme mini-carts update after a donation, errors are shown instead of a spinner that never stops, and the confirmation is announced to screen readers.
- New "After donating" setting (Donation & Fundraising > General): follow WooCommerce's redirect setting (default), stay on the page, go to the cart or go to checkout.
- Improved New front-end endpoint ?wc-ajax=wcdf_add_donation, new filters wcdf_after_donate_redirect and wcdf_is_donation_open, new helper WCDF_Common::wcdf_add_donation().
- Improved The frontend script no longer loads React (wp-data) on donation pages.
- Improved Tested up to WordPress 7.1 and WooCommerce 11.2.
-
Donations & Fundraising 1.0.3
- Fixed On block themes the default product price and add-to-cart blocks are now suppressed on donation product pages. Previously they rendered alongside the donation form because the classic remove_action()/price filter does not apply to block output.
- Fixed Added a server-side add-to-cart guard so a donation product cannot be added to the cart without a donation amount, closing a path to zero-value donation lines.
- Fixed Product meta save now uses sanitize_text_field() on scalar POST fields so static analysis can verify sanitization (behaviour unchanged; wc_clean() is equivalent for scalars). Array-valued fields are unaffected.
- Fixed Admin script enqueue now declares $in_footer explicitly.
- Fixed Block render template variables prefixed to avoid polluting the global scope.
- Fixed Documented and suppressed remaining static-analysis notices for the intentional textdomain load, the admin-only meta_query, and the core WooCommerce settings hook.
- Fixed Cart and checkout block.json files bumped to apiVersion 3 for WordPress 7.0+ iframe editor compatibility.
- Fixed Added direct-file-access protection to the block render template and the cart/checkout block integration files.
- Fixed "Tested up to" raised to WordPress 7.1 and aligned between the plugin header and readme.txt; "WC tested up to" raised to 11.1.0.
- Fixed Donation container div is now closed on the echo path (product page, cart, checkout) when a fixed-amount product has no configured amounts, or the first amount row is missing an amount or label. Previously an unclosed div was emitted and, combined with overflow:hidden on that container, swallowed the remainder of the page.
- Fixed Frontend CSS/JS are now registered on wp_enqueue_scripts and enqueued at render time, so donation forms are styled and interactive when placed via page-builder layouts (Avada Layouts, Elementor templates), widgets, sidebars, footers and reusable blocks. The previous check only inspected the main post content and missed all of these.
- New wcdf_load_frontend_assets filter to force the frontend assets to load in contexts the automatic detection cannot see.
- Fixed Buffered render path now returns an empty string rather than null when a goal has been reached and the end message is disabled, keeping the return-value contract consistent.
- Fixed Removed stray priority/arg-count parameters from add_shortcode(), which only accepts a tag and a callback.
- Fixed Plugin header, WCDF_VERSION constant and readme.txt stable tag are now consistent at 1.0.3 (header and changelog previously disagreed).
- Fixed AJAX add-to-cart now rejects products with an empty or unknown donation type so arbitrary amounts cannot bypass fixed-list / min-max validation.
- Fixed "Enable Goal End" no longer blocks donations when the goal has not been reached; the end message now renders only after the goal is met.
- Fixed Shortcode/block path now returns the goal-end message instead of echoing it, preserving the function's return-value contract.
- Fixed "Number of Days" goal: campaign-over detection now triggers correctly once the end date has passed (was always evaluating false because DateInterval->days is unsigned).
- Fixed Day calculation guards against empty/invalid date metas (was silently falling back to "now" via DateTime('')).
- Fixed Expired no-of-days campaigns no longer display negative "days left"; remaining days clamped at zero.
- Fixed woocommerce_get_price_html filter set to return-empty-string is now removed after the donation form renders, so unrelated price displays in the same request are not blanked out.
- Fixed Hardened cart/checkout position hook registration with a whitelist so an unexpected option value cannot register the donation renderer on an arbitrary action.
- Fixed Cart/checkout/block donation iterators now guard against non-array wcdf_donation_product_for_* option values to avoid PHP 8 warnings/fatals.
- Fixed Donation ids passed to the renderer are now cast through absint at every call site.
- Fixed Removed the non-existent wc-blocks script dependency from the frontend handle.
- Fixed Frontend AJAX response handler now guards wp.data.dispatch('wc/store/cart') against undefined wp.data to avoid a hard JS error in classic/no-blocks environments.
- Fixed Dropdown / radio handlers no longer write the literal "other" sentinel into the type=number custom-amount input; only numeric selections are mirrored.
- Fixed Site-wide donation totals cached for 5 minutes to avoid loading every paid order on every page render; cache is invalidated automatically on order status changes.
- Fixed Hardened PHP 8 safety in admin save: cause and predefined-amount POST arrays validated via is_array before count(); results reindexed via array_values to avoid sparse meta arrays.
- Fixed Early-return paths inside the buffered shortcode/block render now close the output buffer cleanly to prevent a stale donation-container div from leaking into a dangling OB.
- Fixed Donation product id parameter validated via absint at the top of the renderer.
- Fixed Replaced deprecated WooCommerce detection method with class_exists('WooCommerce').
- Fixed Implemented singleton pattern to prevent double instantiation.
- Fixed Added WCDF_VERSION constant; replaced all hardcoded '1.0.0' version strings.
- Fixed Added Domain Path header field to plugin header.
- Fixed Removed false WooCommerce copyright attribution from plugin header.
- Fixed Updated Tested up to 6.9 and WC tested up to 10.7.0.
- Fixed Plugin now instantiated via plugins_loaded at priority 20.
- Fixed Admin assets now scoped to product edit screen only.
- Fixed Frontend assets now scoped to WooCommerce, cart, and checkout pages only.
- Fixed Nonce sanitization uses sanitize_text_field(wp_unslash()) instead of wc_clean().
- Fixed wp_unslash() applied to all $_POST reads in save routine.
- Fixed Media attachment status check corrected from 'publish' to 'inherit'.
- Fixed Wrong text domain 'bundle-builder' corrected to 'donations-fundraising'.
- Fixed Nonce and capability check added to AJAX search handler.
- Fixed Dead code removed from functions.php.
- Fixed else if replaced with elseif throughout.
- Fixed Server-side donation amount validation in AJAX handler: rejects zero/negative amounts and validates against the fixed pre-defined amounts list to prevent client-side price manipulation.
- Fixed AJAX handler now verifies the target product exists, is purchasable, and has donations enabled before adding to cart.
- Fixed Cart item now uses a unique key so multiple donations of the same amount are not merged.
- Fixed Donation amount stored as order item meta (_wcdf_donation_amount) for reporting and HPOS compatibility.
- Fixed Goal-reached comparison now requires a positive goal value so an unset goal does not falsely end the campaign.
- Fixed "Number of days" goal now requires a configured end date before declaring the campaign over.
- Fixed woocommerce_before_calculate_totals now iterates the passed cart object instead of WC()->cart and guards against missing data.
- Fixed Donation goal totals are now aggregated site-wide instead of per-logged-in customer so progress reflects all donors and logged-out visitors see real progress.
- Fixed Removed translation calls on dynamic admin-entered strings (field label, placeholder) that violated i18n rules.
- Fixed reset() calls on get_post_meta results now guard against non-array values (PHP 8 fatal-warning fix).
- Fixed wp_get_attachment_image_src return value is now validated before array index access.
- Fixed Shortcode now sanitizes IDs with absint, validates the post type is 'product', and returns output instead of echoing inline.
- Fixed Frontend scripts now also load on any page containing the donation shortcode.
- Fixed Cart settings save now applies wp_unslash and absint to product ID array.
- Fixed WC settings product search uses correct 'post_status' argument (was 'status') and caps results to 50.
- Fixed wcdf_selected_donation uses correct WC product validation and casts IDs to absint.
- Fixed Loop add-to-cart button now guards against null global $product before calling get_id().
- Fixed Custom donation amount input now sets donation_status to 'other' so server-side range validation applies.
- Fixed Gutenberg block render escapes donation IDs and wraps the shortcode attribute in quotes.
- Fixed Stable tag header in readme.txt corrected to lowercase form.
- Fixed Misconfigured min > max donation amount restriction is ignored at validation time to avoid blocking legitimate donations.
-
Donations & Fundraising 1.0.1
- Fixed General bug fixes and stability improvements.
No change matches that. Try another word or filter.