Skip to content

Improve Warning Message in wp rewrite flush #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

karthick-murugan
Copy link
Contributor

Fixes #70

Summary

This PR updates the warning message displayed when running wp rewrite flush to provide clearer context on why rewrite rules may be missing. The revised messages explicitly mention WP-CLI's role in loading themes and reference the --skip-themes flag when applicable.

Changes Made

Updated the warning message from:

"Warning: Some rewrite rules may be missing because themes weren't loaded."

to:

"Warning: Some rewrite rules may be missing because themes weren't loaded by WP-CLI."

@karthick-murugan karthick-murugan requested a review from a team as a code owner March 21, 2025 13:06
Copy link

codecov bot commented Mar 21, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@swissspidy swissspidy added this to the 2.0.15 milestone Mar 22, 2025
@swissspidy swissspidy merged commit a774be6 into wp-cli:main Mar 22, 2025
39 of 40 checks passed
@karthick-murugan karthick-murugan deleted the wpcli/rewrite-text-update branch March 24, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve "warning" Text in wp rewrite flush
2 participants