Version Description
Download this release
Release Info
Developer | jason_the_adams |
Plugin | Give – Donation Plugin and Fundraising Platform |
Version | 2.19.2 |
Comparing to | |
See all releases |
Code changes from version 2.19.1 to 2.19.2
- give.php +2 -2
- includes/gateways/stripe/includes/give-stripe-helpers.php +21 -4
- languages/give.pot +17 -17
- output.log +10 -11
- readme.txt +4 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- 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.19.
|
9 |
* Requires at least: 4.9
|
10 |
* Requires PHP: 5.6
|
11 |
* Text Domain: give
|
@@ -289,7 +289,7 @@ final class Give
|
|
289 |
{
|
290 |
// Plugin version.
|
291 |
if ( ! defined('GIVE_VERSION')) {
|
292 |
-
define('GIVE_VERSION', '2.19.
|
293 |
}
|
294 |
|
295 |
// 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.19.2
|
9 |
* Requires at least: 4.9
|
10 |
* Requires PHP: 5.6
|
11 |
* Text Domain: give
|
289 |
{
|
290 |
// Plugin version.
|
291 |
if ( ! defined('GIVE_VERSION')) {
|
292 |
+
define('GIVE_VERSION', '2.19.2');
|
293 |
}
|
294 |
|
295 |
// Plugin Root File.
|
includes/gateways/stripe/includes/give-stripe-helpers.php
CHANGED
@@ -415,19 +415,36 @@ function give_stripe_is_zero_decimal_currency() {
|
|
415 |
* @since 2.5.0
|
416 |
* @since 2.19.0 Previously stripe accounts have single global statement descriptor.
|
417 |
* Now each stripe account will have their own statement descriptor.
|
|
|
|
|
418 |
*
|
419 |
-
* @param array $
|
420 |
*
|
421 |
* @return mixed
|
422 |
* @throws InvalidPropertyName
|
423 |
*/
|
424 |
-
function give_stripe_get_statement_descriptor($
|
425 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
$stripeAccountFormPayment = give(Settings::class)
|
427 |
-
->getStripeAccountById(
|
428 |
$text = $stripeAccountFormPayment->statementDescriptor;
|
429 |
|
430 |
-
return apply_filters('give_stripe_statement_descriptor', $text, $
|
431 |
}
|
432 |
|
433 |
/**
|
415 |
* @since 2.5.0
|
416 |
* @since 2.19.0 Previously stripe accounts have single global statement descriptor.
|
417 |
* Now each stripe account will have their own statement descriptor.
|
418 |
+
* @since 2.19.2 give_stripe_get_connected_account_options function returns empty string as account id for stripe account connected with api keys.
|
419 |
+
* For this return an exception throws. Internal logic update to get donation form stripe account on basis of account type
|
420 |
*
|
421 |
+
* @param array $donation_data List of posted variable while submitting donation.
|
422 |
*
|
423 |
* @return mixed
|
424 |
* @throws InvalidPropertyName
|
425 |
*/
|
426 |
+
function give_stripe_get_statement_descriptor($donation_data = [])
|
427 |
{
|
428 |
+
$form_id = 0;
|
429 |
+
|
430 |
+
if ($donation_data && $donation_data['post_data']['give-form-id']) {
|
431 |
+
$form_id = (int)$donation_data['post_data']['give-form-id'];
|
432 |
+
} elseif (!empty($_POST['give-form-id'])) {
|
433 |
+
$form_id = absint($_POST['give-form-id']);
|
434 |
+
}
|
435 |
+
|
436 |
+
/*
|
437 |
+
* Stripe account connected with api keys does not have account id.
|
438 |
+
* We can use account slug to retrieve account data .
|
439 |
+
*/
|
440 |
+
$defaultAccount = give_stripe_get_default_account($form_id);
|
441 |
+
$stripAccountId = $defaultAccount['account_id'] ?: $defaultAccount['account_slug'];
|
442 |
+
|
443 |
$stripeAccountFormPayment = give(Settings::class)
|
444 |
+
->getStripeAccountById($stripAccountId);
|
445 |
$text = $stripeAccountFormPayment->statementDescriptor;
|
446 |
|
447 |
+
return apply_filters('give_stripe_statement_descriptor', $text, $donation_data);
|
448 |
}
|
449 |
|
450 |
/**
|
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.19.
|
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-
|
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"
|
@@ -13181,9 +13181,9 @@ msgstr ""
|
|
13181 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:468
|
13182 |
#: includes/gateways/stripe/includes/class-give-stripe-logger.php:77
|
13183 |
#: includes/gateways/stripe/includes/class-give-stripe-webhooks.php:167
|
13184 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13185 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13186 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13187 |
msgid "Stripe Error"
|
13188 |
msgstr ""
|
13189 |
|
@@ -13514,7 +13514,7 @@ msgstr ""
|
|
13514 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:282
|
13515 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:322
|
13516 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:388
|
13517 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13518 |
msgid "An error occurred while processing the donation. Please try again."
|
13519 |
msgstr ""
|
13520 |
|
@@ -13753,50 +13753,50 @@ msgstr ""
|
|
13753 |
msgid "Charge refunded in Stripe."
|
13754 |
msgstr ""
|
13755 |
|
13756 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13757 |
msgid "-- N/A --"
|
13758 |
msgstr ""
|
13759 |
|
13760 |
#. translators: %s Exception Error Message
|
13761 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13762 |
msgid "Unable to set application information to Stripe. Details: %s"
|
13763 |
msgstr ""
|
13764 |
|
13765 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13766 |
msgid "Unable to set application information to Stripe. Please try again."
|
13767 |
msgstr ""
|
13768 |
|
13769 |
#. translators: %s Exception Message Body
|
13770 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13771 |
msgid "Unable to set Stripe API Key. Details: %s"
|
13772 |
msgstr ""
|
13773 |
|
13774 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13775 |
msgid "Stripe Customer Creation Failed"
|
13776 |
msgstr ""
|
13777 |
|
13778 |
#. translators: %s Donation Data
|
13779 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13780 |
msgid "Customer creation failed while processing the donation. Details: %s"
|
13781 |
msgstr ""
|
13782 |
|
13783 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13784 |
msgid "The Stripe Gateway returned an error while processing the donation."
|
13785 |
msgstr ""
|
13786 |
|
13787 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13788 |
msgid "By providing your IBAN and confirming this payment, you are authorizing %1$s and Stripe, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited."
|
13789 |
msgstr ""
|
13790 |
|
13791 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13792 |
msgid "By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the <a href=\"%1$s\" target=\"_blank\">Direct Debit Request service agreement</a>, and authorize Stripe Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Stripe”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of %2$s (the “Merchant”) for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorized signatory on the account listed above."
|
13793 |
msgstr ""
|
13794 |
|
13795 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13796 |
msgid "Give - Stripe Error"
|
13797 |
msgstr ""
|
13798 |
|
13799 |
-
#: includes/gateways/stripe/includes/give-stripe-helpers.php:
|
13800 |
msgid "Unable to retrieve account details. Please contact support for assistance. Details:"
|
13801 |
msgstr ""
|
13802 |
|
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.19.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-03-02T22:29:40+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"
|
13181 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:468
|
13182 |
#: includes/gateways/stripe/includes/class-give-stripe-logger.php:77
|
13183 |
#: includes/gateways/stripe/includes/class-give-stripe-webhooks.php:167
|
13184 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:590
|
13185 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:686
|
13186 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:851
|
13187 |
msgid "Stripe Error"
|
13188 |
msgstr ""
|
13189 |
|
13514 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:282
|
13515 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:322
|
13516 |
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:388
|
13517 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:693
|
13518 |
msgid "An error occurred while processing the donation. Please try again."
|
13519 |
msgstr ""
|
13520 |
|
13753 |
msgid "Charge refunded in Stripe."
|
13754 |
msgstr ""
|
13755 |
|
13756 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:513
|
13757 |
msgid "-- N/A --"
|
13758 |
msgstr ""
|
13759 |
|
13760 |
#. translators: %s Exception Error Message
|
13761 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:593
|
13762 |
msgid "Unable to set application information to Stripe. Details: %s"
|
13763 |
msgstr ""
|
13764 |
|
13765 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:598
|
13766 |
msgid "Unable to set application information to Stripe. Please try again."
|
13767 |
msgstr ""
|
13768 |
|
13769 |
#. translators: %s Exception Message Body
|
13770 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:689
|
13771 |
msgid "Unable to set Stripe API Key. Details: %s"
|
13772 |
msgstr ""
|
13773 |
|
13774 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:998
|
13775 |
msgid "Stripe Customer Creation Failed"
|
13776 |
msgstr ""
|
13777 |
|
13778 |
#. translators: %s Donation Data
|
13779 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:1001
|
13780 |
msgid "Customer creation failed while processing the donation. Details: %s"
|
13781 |
msgstr ""
|
13782 |
|
13783 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:1005
|
13784 |
msgid "The Stripe Gateway returned an error while processing the donation."
|
13785 |
msgstr ""
|
13786 |
|
13787 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:1192
|
13788 |
msgid "By providing your IBAN and confirming this payment, you are authorizing %1$s and Stripe, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited."
|
13789 |
msgstr ""
|
13790 |
|
13791 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:1199
|
13792 |
msgid "By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the <a href=\"%1$s\" target=\"_blank\">Direct Debit Request service agreement</a>, and authorize Stripe Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Stripe”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of %2$s (the “Merchant”) for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorized signatory on the account listed above."
|
13793 |
msgstr ""
|
13794 |
|
13795 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:1536
|
13796 |
msgid "Give - Stripe Error"
|
13797 |
msgstr ""
|
13798 |
|
13799 |
+
#: includes/gateways/stripe/includes/give-stripe-helpers.php:1539
|
13800 |
msgid "Unable to retrieve account details. Please contact support for assistance. Details:"
|
13801 |
msgstr ""
|
13802 |
|
output.log
CHANGED
@@ -23,32 +23,31 @@ c88517be8365: Waiting
|
|
23 |
07289ea6b918: Waiting
|
24 |
4612e05a72cf: Waiting
|
25 |
f1478d838f46: Waiting
|
26 |
-
30e209609427: Verifying Checksum
|
27 |
-
30e209609427: Download complete
|
28 |
320f26ee9b1c: Verifying Checksum
|
29 |
320f26ee9b1c: Download complete
|
30 |
801bfaa63ef2: Verifying Checksum
|
31 |
801bfaa63ef2: Download complete
|
|
|
|
|
32 |
801bfaa63ef2: Pull complete
|
33 |
-
c88517be8365: Verifying Checksum
|
34 |
-
c88517be8365: Download complete
|
35 |
4612e05a72cf: Verifying Checksum
|
36 |
4612e05a72cf: Download complete
|
37 |
-
f1478d838f46: Verifying Checksum
|
38 |
-
f1478d838f46: Download complete
|
39 |
30e209609427: Pull complete
|
40 |
-
|
41 |
-
181891da1ea0: Download complete
|
42 |
320f26ee9b1c: Pull complete
|
43 |
-
2a0fa75da19b: Verifying Checksum
|
44 |
-
2a0fa75da19b: Download complete
|
45 |
4612e05a72cf: Pull complete
|
46 |
142abe9b67c6: Verifying Checksum
|
47 |
142abe9b67c6: Download complete
|
48 |
f1478d838f46: Pull complete
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
50 |
07289ea6b918: Verifying Checksum
|
51 |
07289ea6b918: Download complete
|
|
|
52 |
142abe9b67c6: Pull complete
|
53 |
181891da1ea0: Pull complete
|
54 |
2a0fa75da19b: Pull complete
|
23 |
07289ea6b918: Waiting
|
24 |
4612e05a72cf: Waiting
|
25 |
f1478d838f46: Waiting
|
|
|
|
|
26 |
320f26ee9b1c: Verifying Checksum
|
27 |
320f26ee9b1c: Download complete
|
28 |
801bfaa63ef2: Verifying Checksum
|
29 |
801bfaa63ef2: Download complete
|
30 |
+
30e209609427: Verifying Checksum
|
31 |
+
30e209609427: Download complete
|
32 |
801bfaa63ef2: Pull complete
|
|
|
|
|
33 |
4612e05a72cf: Verifying Checksum
|
34 |
4612e05a72cf: Download complete
|
|
|
|
|
35 |
30e209609427: Pull complete
|
36 |
+
f1478d838f46: Download complete
|
|
|
37 |
320f26ee9b1c: Pull complete
|
|
|
|
|
38 |
4612e05a72cf: Pull complete
|
39 |
142abe9b67c6: Verifying Checksum
|
40 |
142abe9b67c6: Download complete
|
41 |
f1478d838f46: Pull complete
|
42 |
+
181891da1ea0: Verifying Checksum
|
43 |
+
181891da1ea0: Download complete
|
44 |
+
2a0fa75da19b: Verifying Checksum
|
45 |
+
2a0fa75da19b: Download complete
|
46 |
+
c88517be8365: Verifying Checksum
|
47 |
+
c88517be8365: Download complete
|
48 |
07289ea6b918: Verifying Checksum
|
49 |
07289ea6b918: Download complete
|
50 |
+
c88517be8365: Pull complete
|
51 |
142abe9b67c6: Pull complete
|
52 |
181891da1ea0: Pull complete
|
53 |
2a0fa75da19b: Pull complete
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding
|
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.19.
|
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.19.1: February 25th, 2022 =
|
255 |
* Fix: Added backwards compatibility for Stripe statement descriptors that do not yet meet the new requirements.
|
256 |
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.19.2
|
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.19.2: March 2nd, 2022 =
|
255 |
+
* Fix: Resolved issue with connecting to Stripe with API Keys
|
256 |
+
|
257 |
= 2.19.1: February 25th, 2022 =
|
258 |
* Fix: Added backwards compatibility for Stripe statement descriptors that do not yet meet the new requirements.
|
259 |
|
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 ComposerAutoloaderInit1dda157436500b18b937b801e87c883d::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 ComposerAutoloaderInit1fc5c821db983a586f37398682c5c64c
|
|
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) {
|
@@ -53,12 +53,12 @@ class ComposerAutoloaderInit1fc5c821db983a586f37398682c5c64c
|
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
-
$includeFiles = Composer\Autoload\
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
-
|
62 |
}
|
63 |
|
64 |
return $loader;
|
@@ -70,7 +70,7 @@ class ComposerAutoloaderInit1fc5c821db983a586f37398682c5c64c
|
|
70 |
* @param string $file
|
71 |
* @return void
|
72 |
*/
|
73 |
-
function
|
74 |
{
|
75 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
76 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit1dda157436500b18b937b801e87c883d
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit1dda157436500b18b937b801e87c883d', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit1dda157436500b18b937b801e87c883d', '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\ComposerStaticInit1dda157436500b18b937b801e87c883d::getInitializer($loader));
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit1dda157436500b18b937b801e87c883d::$files;
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
+
composerRequire1dda157436500b18b937b801e87c883d($fileIdentifier, $file);
|
62 |
}
|
63 |
|
64 |
return $loader;
|
70 |
* @param string $file
|
71 |
* @return void
|
72 |
*/
|
73 |
+
function composerRequire1dda157436500b18b937b801e87c883d($fileIdentifier, $file)
|
74 |
{
|
75 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
76 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
|
@@ -125,9 +125,9 @@ class ComposerStaticInit1fc5c821db983a586f37398682c5c64c
|
|
125 |
public static function getInitializer(ClassLoader $loader)
|
126 |
{
|
127 |
return \Closure::bind(function () use ($loader) {
|
128 |
-
$loader->prefixLengthsPsr4 =
|
129 |
-
$loader->prefixDirsPsr4 =
|
130 |
-
$loader->classMap =
|
131 |
|
132 |
}, null, ClassLoader::class);
|
133 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit1dda157436500b18b937b801e87c883d
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
|
125 |
public static function getInitializer(ClassLoader $loader)
|
126 |
{
|
127 |
return \Closure::bind(function () use ($loader) {
|
128 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit1dda157436500b18b937b801e87c883d::$prefixLengthsPsr4;
|
129 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit1dda157436500b18b937b801e87c883d::$prefixDirsPsr4;
|
130 |
+
$loader->classMap = ComposerStaticInit1dda157436500b18b937b801e87c883d::$classMap;
|
131 |
|
132 |
}, null, ClassLoader::class);
|
133 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => '2.19.
|
4 |
-
'version' => '2.19.
|
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.19.
|
45 |
-
'version' => '2.19.
|
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.19.2',
|
4 |
+
'version' => '2.19.2.0',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '98f68a0ee08d27f79e001ebda76f9a5139755fb7',
|
9 |
'name' => 'impress-org/give',
|
10 |
'dev' => false,
|
11 |
),
|
41 |
),
|
42 |
),
|
43 |
'impress-org/give' => array(
|
44 |
+
'pretty_version' => '2.19.2',
|
45 |
+
'version' => '2.19.2.0',
|
46 |
'type' => 'wordpress-plugin',
|
47 |
'install_path' => __DIR__ . '/../../',
|
48 |
'aliases' => array(),
|
49 |
+
'reference' => '98f68a0ee08d27f79e001ebda76f9a5139755fb7',
|
50 |
'dev_requirement' => false,
|
51 |
),
|
52 |
'kjohnson/format-object-list' => array(
|