File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,13 +192,13 @@ Feature: Managed the WordPress object cache
192192 When I try `wp cache flush`
193193 Then STDERR should not contain:
194194 """
195- Warning: Ignoring the --url=<url> argument because flushing the cache affects all sites on a multisite installation.
195+ Warning: Flushing the cache may affect all sites in a multisite installation, depending on the implementation of the object cache .
196196 """
197197
198198 When I try `wp cache flush --url=example.com`
199199 Then STDERR should contain:
200200 """
201- Warning: Ignoring the --url=<url> argument because flushing the cache affects all sites on a multisite installation.
201+ Warning: Flushing the cache may affect all sites in a multisite installation, depending on the implementation of the object cache .
202202 """
203203
204204 @require-wp-6.1
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ public function delete( $args, $assoc_args ) {
157157 public function flush ( $ args , $ assoc_args ) {
158158
159159 if ( WP_CLI ::has_config ( 'url ' ) && ! empty ( WP_CLI ::get_config ()['url ' ] ) && is_multisite () ) {
160- WP_CLI ::warning ( 'Ignoring the --url=<url> argument because flushing the cache affects all sites on a multisite installation. ' );
160+ WP_CLI ::warning ( 'Flushing the cache may affect all sites in a multisite installation, depending on the implementation of the object cache . ' );
161161 }
162162
163163 $ value = wp_cache_flush ();
You can’t perform that action at this time.
0 commit comments