diff --git a/cli.php b/cli.php index a4d1a45..d96720a 100644 --- a/cli.php +++ b/cli.php @@ -70,7 +70,7 @@ function __invoke( $args, $assoc_args ) if ( $result ) { WP_CLI::success( $filename ); } else { - WP_CLI::success( "Movefile wasn't overwrited." ); + WP_CLI::success( "Movefile wasn't overwritten." ); } } } @@ -83,7 +83,7 @@ private function create_file( $filename, $contents, $force ) if ( $should_write_file ) { $wp_filesystem->mkdir( dirname( $filename ) ); if ( ! $wp_filesystem->put_contents( $filename, $contents ) ) { - WP_CLI::error( "Error creating file: $filename" ); + WP_CLI::error( "Could not create file: $filename" ); } return true; }