Skip to content

Conversation

@mrsdizzie
Copy link
Member

This changes the default behavior to always check wordpress.org for the latest information when doing wp plugin|theme list unless the existing --skip-update-check flag is passed.

This came out of the discussion in #426 and replaces that PR. The main idea is that it doesn't make any sense to have both --force-check and --skip-update-check flags while also having the default behavior be unpredictable depending on the state of the transient.

I created a new PR since pretty much all of the code is test code and that is different now that we are changing the default behavior instead of adding a flag.

@codecov
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@mrsdizzie mrsdizzie force-pushed the default-force-check branch from f37da9c to 8f4976f Compare March 19, 2025 18:17
This changes the default behavior to always check wordpress.org for the
latest information when doing wp plugin|theme list unless the existing
`--skip-update-check` flag is passed.
@mrsdizzie mrsdizzie force-pushed the default-force-check branch from 8f4976f to 456a1ef Compare March 19, 2025 18:20
Copy link
Member

@swissspidy swissspidy left a comment

Choose a reason for hiding this comment

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

Nice one! 🚀

@swissspidy swissspidy merged commit 131bb09 into main Mar 20, 2025
40 checks passed
@swissspidy swissspidy deleted the default-force-check branch March 20, 2025 11:50
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.

3 participants