Skip to content

Improve Warning Message in wp rewrite flush#69

Merged
swissspidy merged 1 commit intowp-cli:mainfrom
karthick-murugan:wpcli/rewrite-text-update
Mar 22, 2025
Merged

Improve Warning Message in wp rewrite flush#69
swissspidy merged 1 commit intowp-cli:mainfrom
karthick-murugan:wpcli/rewrite-text-update

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
@codecov
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 the command:rewrite-flush Related to 'rewrite flush' command label Mar 22, 2025
@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

Labels

command:rewrite-flush Related to 'rewrite flush' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve "warning" Text in wp rewrite flush

2 participants