Version Description
Download this release
Release Info
Developer | jason_the_adams |
Plugin | Give – Donation Plugin and Fundraising Platform |
Version | 2.11.3 |
Comparing to | |
See all releases |
Code changes from version 2.11.2 to 2.11.3
- give.php +4 -2
- includes/misc-functions.php +1 -1
- languages/give.pot +10 -10
- output.log +17 -16
- readme.txt +4 -1
- src/License/LicenseServiceProvider.php +22 -0
- src/License/PremiumAddonsListManager.php +25 -5
- src/Tracking/TrackingData/PluginsData.php +1 -1
- 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.11.
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
@@ -43,6 +43,7 @@ use Give\Container\Container;
|
|
43 |
use Give\Framework\Exceptions\UncaughtExceptionLogger;
|
44 |
use Give\Framework\Migrations\MigrationsServiceProvider;
|
45 |
use Give\Form\Templates;
|
|
|
46 |
use Give\Revenue\RevenueServiceProvider;
|
47 |
use Give\Route\Form as FormRoute;
|
48 |
use Give\ServiceProviders\PaymentGateways;
|
@@ -155,6 +156,7 @@ final class Give {
|
|
155 |
LogServiceProvider::class,
|
156 |
FormLegacyConsumerServiceProvider::class,
|
157 |
ShimsServiceProvider::class,
|
|
|
158 |
];
|
159 |
|
160 |
/**
|
@@ -265,7 +267,7 @@ final class Give {
|
|
265 |
private function setup_constants() {
|
266 |
// Plugin version.
|
267 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
268 |
-
define( 'GIVE_VERSION', '2.11.
|
269 |
}
|
270 |
|
271 |
// 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.11.3
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
43 |
use Give\Framework\Exceptions\UncaughtExceptionLogger;
|
44 |
use Give\Framework\Migrations\MigrationsServiceProvider;
|
45 |
use Give\Form\Templates;
|
46 |
+
use Give\License\LicenseServiceProvider;
|
47 |
use Give\Revenue\RevenueServiceProvider;
|
48 |
use Give\Route\Form as FormRoute;
|
49 |
use Give\ServiceProviders\PaymentGateways;
|
156 |
LogServiceProvider::class,
|
157 |
FormLegacyConsumerServiceProvider::class,
|
158 |
ShimsServiceProvider::class,
|
159 |
+
LicenseServiceProvider::class,
|
160 |
];
|
161 |
|
162 |
/**
|
267 |
private function setup_constants() {
|
268 |
// Plugin version.
|
269 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
270 |
+
define( 'GIVE_VERSION', '2.11.3' );
|
271 |
}
|
272 |
|
273 |
// Plugin Root File.
|
includes/misc-functions.php
CHANGED
@@ -853,7 +853,7 @@ function give_get_plugins( $args = [] ) {
|
|
853 |
}
|
854 |
|
855 |
if ( ! empty( $args['only_premium_add_ons'] ) ) {
|
856 |
-
$premiumAddonsListManger =
|
857 |
|
858 |
foreach ( $plugins as $key => $plugin ) {
|
859 |
if ( 'add-on' !== $plugin['Type'] ) {
|
853 |
}
|
854 |
|
855 |
if ( ! empty( $args['only_premium_add_ons'] ) ) {
|
856 |
+
$premiumAddonsListManger = give( PremiumAddonsListManager::class );
|
857 |
|
858 |
foreach ( $plugins as $key => $plugin ) {
|
859 |
if ( 'add-on' !== $plugin['Type'] ) {
|
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.11.
|
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-
|
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"
|
@@ -97,35 +97,35 @@ msgstr ""
|
|
97 |
msgid "Give"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: give.php:
|
101 |
msgid "Your site could be faster and more secure with a newer PHP version."
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: give.php:
|
105 |
msgid "Hey, we've noticed that you're running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we're sending you this notice."
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: give.php:
|
109 |
msgid "Hosts have the ability to update your PHP version, but sometimes they don't dare to do that because they're afraid they'll break your site."
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: give.php:
|
113 |
msgid "To which version should I update?"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: give.php:
|
117 |
msgid "You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It's also the only PHP version still in active development and therefore the better option for your site in the long run."
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: give.php:
|
121 |
msgid "Can't update? Ask your host!"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: give.php:
|
125 |
msgid "If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don't want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s."
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: give.php:
|
129 |
msgid "<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href=\"%1$s\" target=\"_blank\">logging into your account</a> and visiting <a href=\"%1$s\" target=\"_blank\">your downloads</a> page on the GiveWP website."
|
130 |
msgstr ""
|
131 |
|
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.11.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: 2021-07-07T00:37:47+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"
|
97 |
msgid "Give"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: give.php:334
|
101 |
msgid "Your site could be faster and more secure with a newer PHP version."
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: give.php:338
|
105 |
msgid "Hey, we've noticed that you're running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we're sending you this notice."
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: give.php:342
|
109 |
msgid "Hosts have the ability to update your PHP version, but sometimes they don't dare to do that because they're afraid they'll break your site."
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: give.php:346
|
113 |
msgid "To which version should I update?"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: give.php:347
|
117 |
msgid "You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It's also the only PHP version still in active development and therefore the better option for your site in the long run."
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: give.php:351
|
121 |
msgid "Can't update? Ask your host!"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: give.php:353
|
125 |
msgid "If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don't want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s."
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: give.php:386
|
129 |
msgid "<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href=\"%1$s\" target=\"_blank\">logging into your account</a> and visiting <a href=\"%1$s\" target=\"_blank\">your downloads</a> page on the GiveWP website."
|
130 |
msgstr ""
|
131 |
|
output.log
CHANGED
@@ -21,37 +21,38 @@ c88517be8365: Pulling fs layer
|
|
21 |
181891da1ea0: Pulling fs layer
|
22 |
2a0fa75da19b: Pulling fs layer
|
23 |
136539a47de8: Pulling fs layer
|
24 |
-
4612e05a72cf: Waiting
|
25 |
-
f1478d838f46: Waiting
|
26 |
c88517be8365: Waiting
|
27 |
142abe9b67c6: Waiting
|
|
|
28 |
2a0fa75da19b: Waiting
|
29 |
136539a47de8: Waiting
|
30 |
-
|
31 |
-
|
32 |
-
30e209609427: Download complete
|
33 |
320f26ee9b1c: Verifying Checksum
|
34 |
320f26ee9b1c: Download complete
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
4612e05a72cf: Download complete
|
36 |
-
f1478d838f46: Verifying Checksum
|
37 |
-
f1478d838f46: Download complete
|
38 |
c88517be8365: Verifying Checksum
|
39 |
c88517be8365: Download complete
|
|
|
|
|
|
|
|
|
|
|
40 |
181891da1ea0: Verifying Checksum
|
41 |
181891da1ea0: Download complete
|
42 |
-
|
|
|
|
|
43 |
142abe9b67c6: Verifying Checksum
|
44 |
142abe9b67c6: Download complete
|
45 |
-
801bfaa63ef2: Pull complete
|
46 |
-
2a0fa75da19b: Verifying Checksum
|
47 |
-
2a0fa75da19b: Download complete
|
48 |
136539a47de8: Verifying Checksum
|
49 |
136539a47de8: Download complete
|
50 |
-
30e209609427: Pull complete
|
51 |
-
320f26ee9b1c: Pull complete
|
52 |
-
4612e05a72cf: Pull complete
|
53 |
-
f1478d838f46: Pull complete
|
54 |
-
c88517be8365: Pull complete
|
55 |
142abe9b67c6: Pull complete
|
56 |
181891da1ea0: Pull complete
|
57 |
2a0fa75da19b: Pull complete
|
21 |
181891da1ea0: Pulling fs layer
|
22 |
2a0fa75da19b: Pulling fs layer
|
23 |
136539a47de8: Pulling fs layer
|
|
|
|
|
24 |
c88517be8365: Waiting
|
25 |
142abe9b67c6: Waiting
|
26 |
+
181891da1ea0: Waiting
|
27 |
2a0fa75da19b: Waiting
|
28 |
136539a47de8: Waiting
|
29 |
+
4612e05a72cf: Waiting
|
30 |
+
f1478d838f46: Waiting
|
|
|
31 |
320f26ee9b1c: Verifying Checksum
|
32 |
320f26ee9b1c: Download complete
|
33 |
+
30e209609427: Verifying Checksum
|
34 |
+
30e209609427: Download complete
|
35 |
+
801bfaa63ef2: Verifying Checksum
|
36 |
+
801bfaa63ef2: Download complete
|
37 |
+
801bfaa63ef2: Pull complete
|
38 |
+
4612e05a72cf: Verifying Checksum
|
39 |
4612e05a72cf: Download complete
|
|
|
|
|
40 |
c88517be8365: Verifying Checksum
|
41 |
c88517be8365: Download complete
|
42 |
+
30e209609427: Pull complete
|
43 |
+
320f26ee9b1c: Pull complete
|
44 |
+
4612e05a72cf: Pull complete
|
45 |
+
f1478d838f46: Verifying Checksum
|
46 |
+
f1478d838f46: Download complete
|
47 |
181891da1ea0: Verifying Checksum
|
48 |
181891da1ea0: Download complete
|
49 |
+
f1478d838f46: Pull complete
|
50 |
+
c88517be8365: Pull complete
|
51 |
+
2a0fa75da19b: Download complete
|
52 |
142abe9b67c6: Verifying Checksum
|
53 |
142abe9b67c6: Download complete
|
|
|
|
|
|
|
54 |
136539a47de8: Verifying Checksum
|
55 |
136539a47de8: Download complete
|
|
|
|
|
|
|
|
|
|
|
56 |
142abe9b67c6: Pull complete
|
57 |
181891da1ea0: Pull complete
|
58 |
2a0fa75da19b: Pull complete
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: donation, fundraising, crowdfunding, givewp, give
|
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.11.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -232,6 +232,9 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
|
|
232 |
|
233 |
== Changelog ==
|
234 |
|
|
|
|
|
|
|
235 |
= 2.11.2: June 8th, 2021 =
|
236 |
* Fix: Our new system for logging exceptions now handles critical errors better
|
237 |
* Fix: Uninstalling GiveWP no longer throws an exception
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.11.3
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
232 |
|
233 |
== Changelog ==
|
234 |
|
235 |
+
= 2.11.3: July 6th, 2021 =
|
236 |
+
* Fix: Important fix which makes sure that givewp.com downtime cannot affect the uptime of customer sites
|
237 |
+
|
238 |
= 2.11.2: June 8th, 2021 =
|
239 |
* Fix: Our new system for logging exceptions now handles critical errors better
|
240 |
* Fix: Uninstalling GiveWP no longer throws an exception
|
src/License/LicenseServiceProvider.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
declare( strict_types=1 );
|
4 |
+
|
5 |
+
namespace Give\License;
|
6 |
+
|
7 |
+
use Give\ServiceProviders\ServiceProvider;
|
8 |
+
|
9 |
+
class LicenseServiceProvider implements ServiceProvider {
|
10 |
+
/**
|
11 |
+
* @since 2.11.3
|
12 |
+
*/
|
13 |
+
public function register() {
|
14 |
+
give()->singleton( PremiumAddonsListManager::class );
|
15 |
+
}
|
16 |
+
|
17 |
+
/**
|
18 |
+
* @since 2.11.3
|
19 |
+
*/
|
20 |
+
public function boot() {
|
21 |
+
}
|
22 |
+
}
|
src/License/PremiumAddonsListManager.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
namespace Give\License;
|
3 |
|
4 |
/**
|
@@ -17,24 +18,43 @@ class PremiumAddonsListManager {
|
|
17 |
*/
|
18 |
const PRODUCTS_LIST_API_URL = 'https://givewp.com/edd-api/products';
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
/**
|
22 |
* Get premium addons slugs as addons ids.
|
23 |
*
|
|
|
24 |
* @since 2.9.2
|
|
|
25 |
* @return array
|
26 |
*/
|
27 |
private function getAddonsIds() {
|
|
|
|
|
|
|
|
|
28 |
$optionName = 'give_premium_addons_ids';
|
29 |
$cachedResult = get_transient( $optionName );
|
30 |
-
if ( $cachedResult ) {
|
31 |
-
return
|
32 |
}
|
33 |
|
34 |
-
$response = wp_remote_get(
|
|
|
|
|
|
|
|
|
|
|
35 |
$productsInformation = wp_remote_retrieve_body( $response );
|
36 |
if ( ! $productsInformation ) {
|
37 |
-
|
|
|
|
|
38 |
}
|
39 |
|
40 |
$productsInformation = json_decode( $productsInformation, true );
|
@@ -47,7 +67,7 @@ class PremiumAddonsListManager {
|
|
47 |
set_transient( $optionName, $productsIds, DAY_IN_SECONDS );
|
48 |
}
|
49 |
|
50 |
-
return $productsIds;
|
51 |
}
|
52 |
|
53 |
/**
|
1 |
<?php
|
2 |
+
|
3 |
namespace Give\License;
|
4 |
|
5 |
/**
|
18 |
*/
|
19 |
const PRODUCTS_LIST_API_URL = 'https://givewp.com/edd-api/products';
|
20 |
|
21 |
+
/**
|
22 |
+
* Cached addon values for the same request, prevents subsequent transient queries
|
23 |
+
*
|
24 |
+
* @since 2.11.3
|
25 |
+
*/
|
26 |
+
private $addonIds;
|
27 |
|
28 |
/**
|
29 |
* Get premium addons slugs as addons ids.
|
30 |
*
|
31 |
+
* @since 2.11.3 Always cache to avoid timeouts on givewp.com
|
32 |
* @since 2.9.2
|
33 |
+
*
|
34 |
* @return array
|
35 |
*/
|
36 |
private function getAddonsIds() {
|
37 |
+
if ( isset( $this->addonIds ) ) {
|
38 |
+
return $this->addonIds;
|
39 |
+
}
|
40 |
+
|
41 |
$optionName = 'give_premium_addons_ids';
|
42 |
$cachedResult = get_transient( $optionName );
|
43 |
+
if ( $cachedResult !== false ) {
|
44 |
+
return $this->addonIds = $cachedResult;
|
45 |
}
|
46 |
|
47 |
+
$response = wp_remote_get(
|
48 |
+
self::PRODUCTS_LIST_API_URL . '?number=-1',
|
49 |
+
[
|
50 |
+
'timeout' => 3,
|
51 |
+
]
|
52 |
+
);
|
53 |
$productsInformation = wp_remote_retrieve_body( $response );
|
54 |
if ( ! $productsInformation ) {
|
55 |
+
set_transient( $optionName, [], HOUR_IN_SECONDS );
|
56 |
+
|
57 |
+
return $this->addonIds = [];
|
58 |
}
|
59 |
|
60 |
$productsInformation = json_decode( $productsInformation, true );
|
67 |
set_transient( $optionName, $productsIds, DAY_IN_SECONDS );
|
68 |
}
|
69 |
|
70 |
+
return $this->addonIds = $productsIds;
|
71 |
}
|
72 |
|
73 |
/**
|
src/Tracking/TrackingData/PluginsData.php
CHANGED
@@ -54,7 +54,7 @@ class PluginsData implements TrackData {
|
|
54 |
* @return array The formatted array.
|
55 |
*/
|
56 |
private function formatPlugin( $plugin ) {
|
57 |
-
$premiumAddonsListManger =
|
58 |
|
59 |
return [
|
60 |
'plugin' => $plugin['Path'],
|
54 |
* @return array The formatted array.
|
55 |
*/
|
56 |
private function formatPlugin( $plugin ) {
|
57 |
+
$premiumAddonsListManger = give( PremiumAddonsListManager::class );
|
58 |
|
59 |
return [
|
60 |
'plugin' => $plugin['Path'],
|
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 ComposerAutoloaderInit331efab022e80ef90673b5761b541b4a::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 ComposerAutoloaderInit524d27a703974037f559cb4708b2d0ba
|
|
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 ComposerAutoloaderInit331efab022e80ef90673b5761b541b4a
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit331efab022e80ef90673b5761b541b4a', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit331efab022e80ef90673b5761b541b4a', '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\ComposerStaticInit331efab022e80ef90673b5761b541b4a::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 ComposerStaticInit524d27a703974037f559cb4708b2d0ba
|
|
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 ComposerStaticInit331efab022e80ef90673b5761b541b4a
|
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 = ComposerStaticInit331efab022e80ef90673b5761b541b4a::$prefixLengthsPsr4;
|
100 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit331efab022e80ef90673b5761b541b4a::$prefixDirsPsr4;
|
101 |
+
$loader->classMap = ComposerStaticInit331efab022e80ef90673b5761b541b4a::$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.11.
|
4 |
-
'version' => '2.11.
|
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.11.
|
45 |
-
'version' => '2.11.
|
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.11.3',
|
4 |
+
'version' => '2.11.3.0',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '90adb25ff4ad82cb513927cb7b04ca88ae3e8c88',
|
9 |
'name' => 'impress-org/give',
|
10 |
'dev' => false,
|
11 |
),
|
41 |
),
|
42 |
),
|
43 |
'impress-org/give' => array(
|
44 |
+
'pretty_version' => '2.11.3',
|
45 |
+
'version' => '2.11.3.0',
|
46 |
'type' => 'wordpress-plugin',
|
47 |
'install_path' => __DIR__ . '/../../',
|
48 |
'aliases' => array(),
|
49 |
+
'reference' => '90adb25ff4ad82cb513927cb7b04ca88ae3e8c88',
|
50 |
'dev_requirement' => false,
|
51 |
),
|
52 |
'kjohnson/format-object-list' => array(
|