Skip to content
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

"Version is higher than expected" warning may not be helpful #192

Open
1 task done
nylen opened this issue Aug 11, 2019 · 1 comment
Open
1 task done

"Version is higher than expected" warning may not be helpful #192

nylen opened this issue Aug 11, 2019 · 1 comment

Comments

@nylen
Copy link

nylen commented Aug 11, 2019

Feature Request

Describe your use case and the problem you are facing

When I need to fork a plugin for a specific site, I bump the version number to something like 99.0-upstream1.2.3. As far as I know, doing this any other way will require a bunch of other work and/or have other side effects like breaking translations.

Currently this triggers the warning described and implemented at #157, which is a false positive in this case.

Follow-up to #142.

Describe the solution you'd like

A way to disable this warning in a site's code. Arguably this might defeat the point of adding this alert, depending on how it is done.

However, I think any warning that WP-CLI can provide here is already pretty easy to defeat, and not very valuable compared to a more comprehensive approach like keeping the whole site inside a git repository and managing deploys more intelligently.

@nylen
Copy link
Author

nylen commented Feb 20, 2020

Note this also applies to other commands like wp theme update:

$ wp theme update --all
Warning: twentyfifteen: version higher than expected.
Warning: twentyseventeen: version higher than expected.
Warning: twentysixteen: version higher than expected.
Error: No themes updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants