Skip to content

Commit 17a6032

Browse files
swissspidyCopilot
andauthored
Update src/Core_Command.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d030292 commit 17a6032

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Core_Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,6 +1803,7 @@ private function cleanup_extra_files( $version_from, $version_to, $locale, $inse
18031803
$has_checksums = is_array( $old_checksums ) && is_array( $new_checksums );
18041804

18051805
if ( ! $has_checksums ) {
1806+
WP_CLI::warning( 'Could not retrieve WordPress core checksums; skipping checksum-based cleanup. Files listed in $_old_files were still cleaned up.' );
18061807
return;
18071808
}
18081809

0 commit comments

Comments
 (0)