Skip to content

Commit 32dd392

Browse files
committed
Fix message that should refer to all caches
1 parent 7088d72 commit 32dd392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CLI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,13 +1100,13 @@ public function delete_all_cache( array $args, array $assoc_args ): void {
11001100
if ( ! isset( $assoc_args['force'] ) ) {
11011101
$this->multilinePrint(
11021102
"no --force given. Please type 'yes' to confirm
1103-
deletion of Crawl Cache"
1103+
deletion of all caches"
11041104
);
11051105

11061106
$userval = trim( (string) fgets( STDIN ) );
11071107

11081108
if ( $userval !== 'yes' ) {
1109-
WP_CLI::error( 'Failed to delete Crawl Cache' );
1109+
WP_CLI::error( 'Failed to delete all caches' );
11101110
}
11111111
}
11121112

0 commit comments

Comments
 (0)