Skip to content

Commit

Permalink
Fix #1488, Upgrade Reviews and Version Notices libraries
Browse files Browse the repository at this point in the history
 - Upgrading publishpress/wordpress-reviews (v1.1.19 => v1.1.20)
 - Upgrading publishpress/wordpress-version-notices (2.1.2 => 2.1.3)
  • Loading branch information
andergmartins committed Oct 13, 2023
1 parent 5f8e85a commit 09ecff4
Show file tree
Hide file tree
Showing 17 changed files with 177 additions and 181 deletions.
27 changes: 13 additions & 14 deletions lib/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions lib/vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@

// autoload.php @generated by Composer

if (PHP_VERSION_ID < 50600) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$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;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
}

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitPublishPressPlanner::getLoader();
Loading

0 comments on commit 09ecff4

Please sign in to comment.