PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0.1
GiveWP – Donation Plugin and Fundraising Platform v4.18.0.1
4.18.0.1 4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 All 258 releases
← All changes | vendor/vendor-prefixed/autoload.php +17 -15 4.16.2 → 4.18.0.1 View file →
@@ -1,20 +1,22 @@
1 1 <?php
2 -// autoload.php @generated by Strauss
3 2
4 -if ( file_exists( __DIR__ . '/autoload-classmap.php' ) ) {
5 - $class_map = include __DIR__ . '/autoload-classmap.php';
6 - if ( is_array( $class_map ) ) {
7 - spl_autoload_register(
8 - function ( $classname ) use ( $class_map ) {
9 - if ( isset( $class_map[ $classname ] ) && file_exists( $class_map[ $classname ] ) ) {
10 - require_once $class_map[ $classname ];
11 - }
12 - }
13 - );
3 +// autoload.php @generated by Composer
4 +
5 +if (PHP_VERSION_ID < 50600) {
6 + if (!headers_sent()) {
7 + header('HTTP/1.1 500 Internal Server Error');
14 8 }
15 - unset( $class_map, $strauss_src );
9 + $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10 + if (!ini_get('display_errors')) {
11 + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12 + fwrite(STDERR, $err);
13 + } elseif (!headers_sent()) {
14 + echo $err;
15 + }
16 + }
17 + throw new RuntimeException($err);
16 18 }
17 19
18 -if ( file_exists( __DIR__ . '/autoload-files.php' ) ) {
19 - require_once __DIR__ . '/autoload-files.php';
20 -}
20 +require_once __DIR__ . '/composer/autoload_real.php';
21 +
22 +return ComposerAutoloaderInitf85f0c0a72e1fbd3be2a18711f218bfa::getLoader();