Give – Donation Plugin and Fundraising Platform - Version 2.22.3

Version Description

Download this release

Release Info

Developer jason_the_adams
Plugin Icon 128x128 Give – Donation Plugin and Fundraising Platform
Version 2.22.3
Comparing to
See all releases

Code changes from version 2.22.2 to 2.22.3

give.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
7
  * Author: GiveWP
8
  * Author URI: https://givewp.com/
9
- * Version: 2.22.2
10
  * Requires at least: 5.0
11
  * Requires PHP: 7.0
12
  * Text Domain: give
@@ -302,7 +302,7 @@ final class Give
302
  {
303
  // Plugin version.
304
  if (!defined('GIVE_VERSION')) {
305
- define('GIVE_VERSION', '2.22.2');
306
  }
307
 
308
  // Plugin Root File.
6
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
7
  * Author: GiveWP
8
  * Author URI: https://givewp.com/
9
+ * Version: 2.22.3
10
  * Requires at least: 5.0
11
  * Requires PHP: 7.0
12
  * Text Domain: give
302
  {
303
  // Plugin version.
304
  if (!defined('GIVE_VERSION')) {
305
+ define('GIVE_VERSION', '2.22.3');
306
  }
307
 
308
  // Plugin Root File.
languages/give.pot CHANGED
@@ -2,16 +2,16 @@
2
  # This file is distributed under the same license as the Give - Donation Plugin plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Give - Donation Plugin 2.22.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/givewp\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-09-29T04:23:47+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
- "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: give\n"
16
 
17
  #. Plugin Name of the plugin
2
  # This file is distributed under the same license as the Give - Donation Plugin plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Give - Donation Plugin 2.22.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/givewp\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-10-13T20:15:52+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.7.0\n"
15
  "X-Domain: give\n"
16
 
17
  #. Plugin Name of the plugin
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding
5
  Requires at least: 5.0
6
  Tested up to: 6.0
7
  Requires PHP: 7.0
8
- Stable tag: 2.22.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -251,6 +251,9 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
251
  8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks.
252
 
253
  == Changelog ==
 
 
 
254
  = 2.22.2: September, 28th 2022 =
255
  * Fix: The give_goal and give_form shortcodes once again display correctly with the goal progress
256
  * Fix: Translating in Google Chrome no longer prevents disconnecting the PayPal account
5
  Requires at least: 5.0
6
  Tested up to: 6.0
7
  Requires PHP: 7.0
8
+ Stable tag: 2.22.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
251
  8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks.
252
 
253
  == Changelog ==
254
+ = 2.22.3: October 13th, 2022 =
255
+ * Fix: When a donor creates an account the email is assured to be sent the right account
256
+
257
  = 2.22.2: September, 28th 2022 =
258
  * Fix: The give_goal and give_form shortcodes once again display correctly with the goal progress
259
  * Fix: Translating in Google Chrome no longer prevents disconnecting the PayPal account
src/Donations/LegacyListeners/DispatchGiveInsertPayment.php CHANGED
@@ -9,8 +9,9 @@ use Give\PaymentGateways\DataTransferObjects\GiveInsertPaymentData;
9
  class DispatchGiveInsertPayment
10
  {
11
  /**
12
- * @since 2.20.0 only run this listener if the legacy hook is used
13
- * @since 2.19.6
 
14
  *
15
  * @param Donation $donation
16
  *
@@ -35,7 +36,7 @@ class DispatchGiveInsertPayment
35
  'currency' => $donation->amount->getCurrency()->getCode(),
36
  'paymentGateway' => $donation->gatewayId,
37
  'userInfo' => [
38
- 'id' => $donor->id,
39
  'firstName' => $donor->firstName,
40
  'lastName' => $donor->lastName,
41
  'title' => $donor->prefix,
9
  class DispatchGiveInsertPayment
10
  {
11
  /**
12
+ * @since 2.22.3 Use $donor->userId instead of $donor->id on the userInfo key
13
+ * @since 2.20.0 only run this listener if the legacy hook is used
14
+ * @since 2.19.6
15
  *
16
  * @param Donation $donation
17
  *
36
  'currency' => $donation->amount->getCurrency()->getCode(),
37
  'paymentGateway' => $donation->gatewayId,
38
  'userInfo' => [
39
+ 'id' => $donor->userId,
40
  'firstName' => $donor->firstName,
41
  'lastName' => $donor->lastName,
42
  'title' => $donor->prefix,
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInita51902c650b2a1337866ab39d63c57ea::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInitc609d767189400d8f00751f0bad525b2::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInita51902c650b2a1337866ab39d63c57ea
6
  {
7
  private static $loader;
8
 
@@ -24,18 +24,18 @@ class ComposerAutoloaderInita51902c650b2a1337866ab39d63c57ea
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInita51902c650b2a1337866ab39d63c57ea', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInita51902c650b2a1337866ab39d63c57ea', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInita51902c650b2a1337866ab39d63c57ea::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
- $includeFiles = \Composer\Autoload\ComposerStaticInita51902c650b2a1337866ab39d63c57ea::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
- composerRequirea51902c650b2a1337866ab39d63c57ea($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
@@ -47,7 +47,7 @@ class ComposerAutoloaderInita51902c650b2a1337866ab39d63c57ea
47
  * @param string $file
48
  * @return void
49
  */
50
- function composerRequirea51902c650b2a1337866ab39d63c57ea($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitc609d767189400d8f00751f0bad525b2
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInitc609d767189400d8f00751f0bad525b2', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInitc609d767189400d8f00751f0bad525b2', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInitc609d767189400d8f00751f0bad525b2::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
+ $includeFiles = \Composer\Autoload\ComposerStaticInitc609d767189400d8f00751f0bad525b2::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
+ composerRequirec609d767189400d8f00751f0bad525b2($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
47
  * @param string $file
48
  * @return void
49
  */
50
+ function composerRequirec609d767189400d8f00751f0bad525b2($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInita51902c650b2a1337866ab39d63c57ea
8
  {
9
  public static $files = array (
10
  '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
@@ -130,9 +130,9 @@ class ComposerStaticInita51902c650b2a1337866ab39d63c57ea
130
  public static function getInitializer(ClassLoader $loader)
131
  {
132
  return \Closure::bind(function () use ($loader) {
133
- $loader->prefixLengthsPsr4 = ComposerStaticInita51902c650b2a1337866ab39d63c57ea::$prefixLengthsPsr4;
134
- $loader->prefixDirsPsr4 = ComposerStaticInita51902c650b2a1337866ab39d63c57ea::$prefixDirsPsr4;
135
- $loader->classMap = ComposerStaticInita51902c650b2a1337866ab39d63c57ea::$classMap;
136
 
137
  }, null, ClassLoader::class);
138
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitc609d767189400d8f00751f0bad525b2
8
  {
9
  public static $files = array (
10
  '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
130
  public static function getInitializer(ClassLoader $loader)
131
  {
132
  return \Closure::bind(function () use ($loader) {
133
+ $loader->prefixLengthsPsr4 = ComposerStaticInitc609d767189400d8f00751f0bad525b2::$prefixLengthsPsr4;
134
+ $loader->prefixDirsPsr4 = ComposerStaticInitc609d767189400d8f00751f0bad525b2::$prefixDirsPsr4;
135
+ $loader->classMap = ComposerStaticInitc609d767189400d8f00751f0bad525b2::$classMap;
136
 
137
  }, null, ClassLoader::class);
138
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'impress-org/give',
4
- 'pretty_version' => '2.22.2',
5
- 'version' => '2.22.2.0',
6
- 'reference' => '082459b391b564ca9fc7a600a38e36bb130ea3ca',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -41,9 +41,9 @@
41
  ),
42
  ),
43
  'impress-org/give' => array(
44
- 'pretty_version' => '2.22.2',
45
- 'version' => '2.22.2.0',
46
- 'reference' => '082459b391b564ca9fc7a600a38e36bb130ea3ca',
47
  'type' => 'wordpress-plugin',
48
  'install_path' => __DIR__ . '/../../',
49
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'impress-org/give',
4
+ 'pretty_version' => '2.22.3',
5
+ 'version' => '2.22.3.0',
6
+ 'reference' => '89b47f7a09e4cc0e3e32962713f6875055562042',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
41
  ),
42
  ),
43
  'impress-org/give' => array(
44
+ 'pretty_version' => '2.22.3',
45
+ 'version' => '2.22.3.0',
46
+ 'reference' => '89b47f7a09e4cc0e3e32962713f6875055562042',
47
  'type' => 'wordpress-plugin',
48
  'install_path' => __DIR__ . '/../../',
49
  'aliases' => array(),