We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e94788f commit f946f18Copy full SHA for f946f18
src/Core_Command.php
@@ -1690,6 +1690,7 @@ private function require_upgrade_file( $context = 'WordPress operation' ) {
1690
// Register a shutdown function to catch fatal errors during require_once.
1691
$shutdown_handler = function () use ( $context, &$require_completed ) {
1692
// Only handle errors if require_once did not complete successfully.
1693
+ // @phpstan-ignore-next-line
1694
if ( $require_completed ) {
1695
return;
1696
}
0 commit comments