Skip to content

Commit 001381a

Browse files
drzrafCopilot
andauthored
Update src/WP_CLI/SearchReplacer.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a821c3d commit 001381a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WP_CLI/SearchReplacer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private function run_recursively( $data, $serialised, $recursion_level = 0, $vis
236236

237237
if ( $this->callback ) {
238238
if ( false === $result ) {
239-
\WP_CLI::error( 'The callback function return false. Stopping operation.' );
239+
\WP_CLI::error( 'The callback function returned false. Stopping operation.' );
240240
} elseif ( is_wp_error( $result ) ) {
241241
$message = $result->get_error_message();
242242
\WP_CLI::error( 'The callback function threw an error. Stopping operation. ' . $message );

0 commit comments

Comments
 (0)