Skip to content

Commit a2f52d7

Browse files
authored
Merge pull request #69 from wp-cli/remove-ms-message
Remove "Site Not Found" message from multisite usage
2 parents c688e51 + e6b5a64 commit a2f52d7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Search_Replace_Command.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,6 @@ public function __invoke( $args, $assoc_args ) {
383383
$success_message = 1 === $total ? "Made 1 replacement." : "Made $total replacements.";
384384
if ( $total && 'Default' !== WP_CLI\Utils\wp_get_cache_type() ) {
385385
$success_message .= ' Please remember to flush your persistent object cache with `wp cache flush`.';
386-
if ( is_multisite() ) {
387-
$success_message .= ' If you see a "Site not found" error after replacing a domain, try flushing cache against the old domain (which may be the cached lookup value).';
388-
}
389386
}
390387
}
391388
WP_CLI::success( $success_message );

0 commit comments

Comments
 (0)