Skip to content

Give a warning when flushing cache on multisite with --url=<url>#86

Merged
danielbachhuber merged 3 commits intowp-cli:mainfrom
janw-me:issues-78-multisite-flush
Apr 6, 2023
Merged

Give a warning when flushing cache on multisite with --url=<url>#86
danielbachhuber merged 3 commits intowp-cli:mainfrom
janw-me:issues-78-multisite-flush

Conversation

@janw-me
Copy link
Copy Markdown
Member

@janw-me janw-me commented Apr 5, 2023

Cache flushes on all sites, not just the current url.

Fixes #78

janw-me added 2 commits April 5, 2023 14:11
@janw-me janw-me requested a review from a team as a code owner April 5, 2023 15:24
@danielbachhuber danielbachhuber added command:cache Related to 'cache' command command:cache-flush Related to 'cache flush' command labels Apr 5, 2023
@danielbachhuber danielbachhuber added this to the 2.0.12 milestone Apr 5, 2023
Copy link
Copy Markdown
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @janw-me !

FYI - I removed the comma from your message.

@danielbachhuber danielbachhuber changed the title When flushing cache on a multisite give a warning. Give a warning when flushing cache on multisite with --url=<url> Apr 6, 2023
@danielbachhuber danielbachhuber merged commit d0af1ee into wp-cli:main Apr 6, 2023
@janw-me janw-me deleted the issues-78-multisite-flush branch April 7, 2023 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:cache Related to 'cache' command command:cache-flush Related to 'cache flush' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn when attempting to flush cache with --url on multisite

2 participants