Version Description
Download this release
Release Info
Developer | jason_the_adams |
Plugin | Give – Donation Plugin and Fundraising Platform |
Version | 2.13.4 |
Comparing to | |
See all releases |
Code changes from version 2.13.3 to 2.13.4
- give.php +2 -2
- languages/give.pot +2 -2
- output.log +10 -11
- readme.txt +4 -1
- src/Onboarding/Migrations/SetFormDonationLevelsToStrings.php +6 -9
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +6 -6
give.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
-
* Version: 2.13.
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
@@ -267,7 +267,7 @@ final class Give {
|
|
267 |
private function setup_constants() {
|
268 |
// Plugin version.
|
269 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
270 |
-
define( 'GIVE_VERSION', '2.13.
|
271 |
}
|
272 |
|
273 |
// Plugin Root File.
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
+
* Version: 2.13.4
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
267 |
private function setup_constants() {
|
268 |
// Plugin version.
|
269 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
270 |
+
define( 'GIVE_VERSION', '2.13.4' );
|
271 |
}
|
272 |
|
273 |
// Plugin Root File.
|
languages/give.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
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.13.
|
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: 2021-09-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.5.0\n"
|
15 |
"X-Domain: give\n"
|
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.13.4\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: 2021-09-03T17:05:20+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.5.0\n"
|
15 |
"X-Domain: give\n"
|
output.log
CHANGED
@@ -15,43 +15,42 @@ c88517be8365: Pulling fs layer
|
|
15 |
142abe9b67c6: Pulling fs layer
|
16 |
181891da1ea0: Pulling fs layer
|
17 |
2a0fa75da19b: Pulling fs layer
|
|
|
18 |
4612e05a72cf: Waiting
|
19 |
f1478d838f46: Waiting
|
20 |
c88517be8365: Waiting
|
21 |
142abe9b67c6: Waiting
|
22 |
-
181891da1ea0: Waiting
|
23 |
2a0fa75da19b: Waiting
|
24 |
-
136539a47de8: Pulling fs layer
|
25 |
136539a47de8: Waiting
|
|
|
26 |
320f26ee9b1c: Verifying Checksum
|
27 |
320f26ee9b1c: Download complete
|
|
|
28 |
30e209609427: Verifying Checksum
|
29 |
30e209609427: Download complete
|
30 |
-
801bfaa63ef2: Verifying Checksum
|
31 |
-
801bfaa63ef2: Download complete
|
32 |
-
801bfaa63ef2: Pull complete
|
33 |
4612e05a72cf: Verifying Checksum
|
34 |
4612e05a72cf: Download complete
|
|
|
35 |
c88517be8365: Verifying Checksum
|
36 |
c88517be8365: Download complete
|
|
|
|
|
|
|
|
|
37 |
30e209609427: Pull complete
|
38 |
f1478d838f46: Verifying Checksum
|
39 |
f1478d838f46: Download complete
|
40 |
320f26ee9b1c: Pull complete
|
41 |
4612e05a72cf: Pull complete
|
42 |
-
142abe9b67c6: Verifying Checksum
|
43 |
-
142abe9b67c6: Download complete
|
44 |
-
181891da1ea0: Verifying Checksum
|
45 |
-
181891da1ea0: Download complete
|
46 |
2a0fa75da19b: Verifying Checksum
|
47 |
2a0fa75da19b: Download complete
|
|
|
|
|
48 |
f1478d838f46: Pull complete
|
49 |
c88517be8365: Pull complete
|
50 |
142abe9b67c6: Pull complete
|
51 |
181891da1ea0: Pull complete
|
52 |
2a0fa75da19b: Pull complete
|
53 |
-
136539a47de8: Verifying Checksum
|
54 |
-
136539a47de8: Download complete
|
55 |
136539a47de8: Pull complete
|
56 |
Digest: sha256:e18a4a2e8f8acca5f1d1858eb7dddfb92afdfe850d11fc6d65dee871b6b64584
|
57 |
Status: Downloaded newer image for docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
|
15 |
142abe9b67c6: Pulling fs layer
|
16 |
181891da1ea0: Pulling fs layer
|
17 |
2a0fa75da19b: Pulling fs layer
|
18 |
+
136539a47de8: Pulling fs layer
|
19 |
4612e05a72cf: Waiting
|
20 |
f1478d838f46: Waiting
|
21 |
c88517be8365: Waiting
|
22 |
142abe9b67c6: Waiting
|
|
|
23 |
2a0fa75da19b: Waiting
|
|
|
24 |
136539a47de8: Waiting
|
25 |
+
181891da1ea0: Waiting
|
26 |
320f26ee9b1c: Verifying Checksum
|
27 |
320f26ee9b1c: Download complete
|
28 |
+
801bfaa63ef2: Verifying Checksum
|
29 |
30e209609427: Verifying Checksum
|
30 |
30e209609427: Download complete
|
|
|
|
|
|
|
31 |
4612e05a72cf: Verifying Checksum
|
32 |
4612e05a72cf: Download complete
|
33 |
+
801bfaa63ef2: Pull complete
|
34 |
c88517be8365: Verifying Checksum
|
35 |
c88517be8365: Download complete
|
36 |
+
181891da1ea0: Verifying Checksum
|
37 |
+
181891da1ea0: Download complete
|
38 |
+
142abe9b67c6: Verifying Checksum
|
39 |
+
142abe9b67c6: Download complete
|
40 |
30e209609427: Pull complete
|
41 |
f1478d838f46: Verifying Checksum
|
42 |
f1478d838f46: Download complete
|
43 |
320f26ee9b1c: Pull complete
|
44 |
4612e05a72cf: Pull complete
|
|
|
|
|
|
|
|
|
45 |
2a0fa75da19b: Verifying Checksum
|
46 |
2a0fa75da19b: Download complete
|
47 |
+
136539a47de8: Verifying Checksum
|
48 |
+
136539a47de8: Download complete
|
49 |
f1478d838f46: Pull complete
|
50 |
c88517be8365: Pull complete
|
51 |
142abe9b67c6: Pull complete
|
52 |
181891da1ea0: Pull complete
|
53 |
2a0fa75da19b: Pull complete
|
|
|
|
|
54 |
136539a47de8: Pull complete
|
55 |
Digest: sha256:e18a4a2e8f8acca5f1d1858eb7dddfb92afdfe850d11fc6d65dee871b6b64584
|
56 |
Status: Downloaded newer image for docker.pkg.github.com/impress-org/givewp/php-actions_composer_givewp:php-7.2-build2
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: donation, fundraising, crowdfunding, givewp, give
|
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.13.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -231,6 +231,9 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
|
|
231 |
8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks.
|
232 |
|
233 |
== Changelog ==
|
|
|
|
|
|
|
234 |
= 2.13.3: September 1st, 2021 =
|
235 |
* Fix: Resolved rare issue with Revenue not storing properly on donation form created during onboarding
|
236 |
* Fix: Donor selecting "Custom" donation amount now focuses on the amount field
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.13.4
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
231 |
8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks.
|
232 |
|
233 |
== Changelog ==
|
234 |
+
= 2.13.4: September 3rd, 2021 =
|
235 |
+
* Fix: Corrected a migration introduced in the last release that had a chance of removing donation level data
|
236 |
+
|
237 |
= 2.13.3: September 1st, 2021 =
|
238 |
* Fix: Resolved rare issue with Revenue not storing properly on donation form created during onboarding
|
239 |
* Fix: Donor selecting "Custom" donation amount now focuses on the amount field
|
src/Onboarding/Migrations/SetFormDonationLevelsToStrings.php
CHANGED
@@ -9,6 +9,7 @@ use Give\Onboarding\FormRepository;
|
|
9 |
* This resolves an issue where the donation level data for the form created during onboarding was serialized as
|
10 |
* integers instead of strings, causing issues throughout
|
11 |
*
|
|
|
12 |
* @since 2.13.3
|
13 |
*/
|
14 |
class SetFormDonationLevelsToStrings extends Migration
|
@@ -52,16 +53,12 @@ class SetFormDonationLevelsToStrings extends Migration
|
|
52 |
|
53 |
$donationLevels = give_get_meta($formId, '_give_donation_levels', true);
|
54 |
|
55 |
-
$
|
56 |
-
|
57 |
-
$
|
58 |
-
'_give_id' => [
|
59 |
-
'level_id' => (string)$level['_give_id']['level_id'],
|
60 |
-
],
|
61 |
-
'_give_amount' => give_sanitize_amount_for_db($level['_give_amount']),
|
62 |
-
];
|
63 |
}
|
|
|
64 |
|
65 |
-
update_post_meta($formId, '_give_donation_levels', $
|
66 |
}
|
67 |
}
|
9 |
* This resolves an issue where the donation level data for the form created during onboarding was serialized as
|
10 |
* integers instead of strings, causing issues throughout
|
11 |
*
|
12 |
+
* @since 2.13.4 preserve additional donation level data
|
13 |
* @since 2.13.3
|
14 |
*/
|
15 |
class SetFormDonationLevelsToStrings extends Migration
|
53 |
|
54 |
$donationLevels = give_get_meta($formId, '_give_donation_levels', true);
|
55 |
|
56 |
+
foreach ($donationLevels as &$level) {
|
57 |
+
$level['_give_id']['level_id'] = (string)$level['_give_id']['level_id'];
|
58 |
+
$level['_give_amount'] = give_sanitize_amount_for_db($level['_give_amount']);
|
|
|
|
|
|
|
|
|
|
|
59 |
}
|
60 |
+
unset($level);
|
61 |
|
62 |
+
update_post_meta($formId, '_give_donation_levels', $donationLevels);
|
63 |
}
|
64 |
}
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit7f003f396c94d29c8e465e7fa86358f0::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit6f7195116828f605b1ff074cbf51ed24
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
-
call_user_func(\Composer\Autoload\
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit7f003f396c94d29c8e465e7fa86358f0
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit7f003f396c94d29c8e465e7fa86358f0', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit7f003f396c94d29c8e465e7fa86358f0', 'loadClassLoader'));
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit7f003f396c94d29c8e465e7fa86358f0::getInitializer($loader));
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'S' =>
|
@@ -96,9 +96,9 @@ class ComposerStaticInit6f7195116828f605b1ff074cbf51ed24
|
|
96 |
public static function getInitializer(ClassLoader $loader)
|
97 |
{
|
98 |
return \Closure::bind(function () use ($loader) {
|
99 |
-
$loader->prefixLengthsPsr4 =
|
100 |
-
$loader->prefixDirsPsr4 =
|
101 |
-
$loader->classMap =
|
102 |
|
103 |
}, null, ClassLoader::class);
|
104 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit7f003f396c94d29c8e465e7fa86358f0
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'S' =>
|
96 |
public static function getInitializer(ClassLoader $loader)
|
97 |
{
|
98 |
return \Closure::bind(function () use ($loader) {
|
99 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit7f003f396c94d29c8e465e7fa86358f0::$prefixLengthsPsr4;
|
100 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit7f003f396c94d29c8e465e7fa86358f0::$prefixDirsPsr4;
|
101 |
+
$loader->classMap = ComposerStaticInit7f003f396c94d29c8e465e7fa86358f0::$classMap;
|
102 |
|
103 |
}, null, ClassLoader::class);
|
104 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => '2.13.
|
4 |
-
'version' => '2.13.
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
-
'reference' => '
|
9 |
'name' => 'impress-org/give',
|
10 |
'dev' => false,
|
11 |
),
|
@@ -41,12 +41,12 @@
|
|
41 |
),
|
42 |
),
|
43 |
'impress-org/give' => array(
|
44 |
-
'pretty_version' => '2.13.
|
45 |
-
'version' => '2.13.
|
46 |
'type' => 'wordpress-plugin',
|
47 |
'install_path' => __DIR__ . '/../../',
|
48 |
'aliases' => array(),
|
49 |
-
'reference' => '
|
50 |
'dev_requirement' => false,
|
51 |
),
|
52 |
'kjohnson/format-object-list' => array(
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => '2.13.4',
|
4 |
+
'version' => '2.13.4.0',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '508b5e462cd8a8c503125b27d96b4a04ee9b337b',
|
9 |
'name' => 'impress-org/give',
|
10 |
'dev' => false,
|
11 |
),
|
41 |
),
|
42 |
),
|
43 |
'impress-org/give' => array(
|
44 |
+
'pretty_version' => '2.13.4',
|
45 |
+
'version' => '2.13.4.0',
|
46 |
'type' => 'wordpress-plugin',
|
47 |
'install_path' => __DIR__ . '/../../',
|
48 |
'aliases' => array(),
|
49 |
+
'reference' => '508b5e462cd8a8c503125b27d96b4a04ee9b337b',
|
50 |
'dev_requirement' => false,
|
51 |
),
|
52 |
'kjohnson/format-object-list' => array(
|