Skip to content

Commit 3e9d6c1

Browse files
swissspidyCopilot
andauthored
Update src/Core_Command.php
Co-authored-by: Copilot <[email protected]>
1 parent a1b8628 commit 3e9d6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,7 @@ private function require_upgrade_file( $context = 'WordPress operation' ) {
16851685
}
16861686

16871687
// Register a shutdown function to catch fatal errors during require_once.
1688-
$shutdown_handler = function () use ( $upgrade_file, $context ) {
1688+
$shutdown_handler = function () use ( $context ) {
16891689
$error = error_get_last();
16901690
if (
16911691
null !== $error

0 commit comments

Comments
 (0)