Skip to content

Commit

Permalink
Merge branch 'hotfix/multisite-install' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
angelablake committed Sep 29, 2023
2 parents b6310e6 + 15a21bc commit d33f8f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions give.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private function setup_constants()
{
// Plugin version.
if (!defined('GIVE_VERSION')) {
define('GIVE_VERSION', '3.0.0');
define('GIVE_VERSION', '2.33.2');
}

// Plugin Root File.
Expand Down Expand Up @@ -480,10 +480,18 @@ public function display_old_recurring_compatibility_notice()
}
}

/**
* Install Give
*
* Runs on plugin activation and performs initial setup.
*
* @since 2.33.3 set network_wide parameter to true, enabling installing in WP multisite
* @since 1.0.0
*/
public function install()
{
$this->loadServiceProviders();
give_install();
give_install(true);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ 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.2: September 18, 2023 =
* Fix: Added validation for form status to prevent donations to donation forms with the status of "Trash"
= 2.33.1: August 31st, 2023 =
* Fix: Add validation for form status to prevent donations to donation forms with the status of "Trash"

= 2.33.1: August 31st, 2023 =
* Security: The donor default user role has been sanitized to prevent privilege escalation
Expand Down

0 comments on commit d33f8f1

Please sign in to comment.