From bcdc8f575e9176df78ba6a72dbc5ad3945cc6bb6 Mon Sep 17 00:00:00 2001 From: Paulo Iankoski Date: Thu, 28 Sep 2023 18:18:27 -0300 Subject: [PATCH 1/3] fix: enable install on multisites --- give.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/give.php b/give.php index fb85a4641a..261a22df0e 100644 --- a/give.php +++ b/give.php @@ -407,7 +407,7 @@ public function display_old_recurring_compatibility_notice() public function install() { $this->loadServiceProviders(); - give_install(); + give_install(true); } /** From e5000a7772a3911442d3489bee9277e2ee1643be Mon Sep 17 00:00:00 2001 From: Paulo Iankoski Date: Thu, 28 Sep 2023 18:36:40 -0300 Subject: [PATCH 2/3] doc: add PHPDoc block --- give.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/give.php b/give.php index 261a22df0e..a5eadf8647 100644 --- a/give.php +++ b/give.php @@ -404,6 +404,14 @@ public function display_old_recurring_compatibility_notice() } } + /** + * Install Give + * + * Runs on plugin activation and performs initial setup. + * + * @unreleased set network_wide parameter to true, enabling installing in WP multisite + * @since 1.0.0 + */ public function install() { $this->loadServiceProviders(); From 15a21bce41e6e73ee389e2f2f6c84e3102eed722 Mon Sep 17 00:00:00 2001 From: Angela Blake <35241639+angelablake@users.noreply.github.com> Date: Fri, 29 Sep 2023 09:17:23 -0500 Subject: [PATCH 3/3] chore: prepare for 2.33.3 release --- give.php | 6 +++--- readme.txt | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/give.php b/give.php index a5eadf8647..36d9544717 100644 --- a/give.php +++ b/give.php @@ -6,7 +6,7 @@ * Description: The most robust, flexible, and intuitive way to accept donations on WordPress. * Author: GiveWP * Author URI: https://givewp.com/ - * Version: 2.33.2 + * Version: 2.33.3 * Requires at least: 5.0 * Requires PHP: 7.0 * Text Domain: give @@ -316,7 +316,7 @@ private function setup_constants() { // Plugin version. if (!defined('GIVE_VERSION')) { - define('GIVE_VERSION', '2.33.2'); + define('GIVE_VERSION', '2.33.3'); } // Plugin Root File. @@ -409,7 +409,7 @@ public function display_old_recurring_compatibility_notice() * * Runs on plugin activation and performs initial setup. * - * @unreleased set network_wide parameter to true, enabling installing in WP multisite + * @since 2.33.3 set network_wide parameter to true, enabling installing in WP multisite * @since 1.0.0 */ public function install() diff --git a/readme.txt b/readme.txt index c992b30d28..de58aa19df 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding Requires at least: 5.0 Tested up to: 6.3 Requires PHP: 7.0 -Stable tag: 2.33.2 +Stable tag: 2.33.3 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -258,7 +258,10 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri 8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks. == Changelog == -= 2.33.1: August 31st, 2023 = += 2.33.3: September 29th, 2023 = +* Fix: Multi-site installations no longer produce an error on subsites. + += 2.33.2: September 18th, 2023 = * Fix: Add validation for form status to prevent donations to donation forms with the status of "Trash" = 2.33.1: August 31st, 2023 =