-
Notifications
You must be signed in to change notification settings - Fork 22
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
Language lists don't show error on missing arguments #27
Comments
To give a bit of context, this site has never dealt with any localization, so the site's languages is still set to the standard english. The problem might just be some value not even being initialized, and therefore the list returning empty. I'll investigate. |
Okay, the problem is actually that it would need either one or more plugin names or the |
Yes I spent quite a bit of time last night trying to write tests for it and failing. I'm thinking that #21 should probably be reverted until these things are ironed out. |
I'm already working on it. Will have a PR soon. |
I don't think us both working on the same part of the codebase will work. #21 just isn't mature or stable enough for now. I think it should be reverted and not be part of 1.5.0. Edit: And even if we do get it to work, it's going to consume a lot of what time each of us has to work on other stuff for 1.5.0. |
Okay, you're leading 1.5.0, so it's your call. I thought the command would already be usable (and useful), albeit not perfect. So, either we revert now, or as an alternative, we do the major fixes, release the command as it can already be used, gather feedback, and push a 1.5.1 to bring it closer to perfection. |
The problem for me is that it changes the existing stable behaviour of the language-command. It's not a simple addition or non-perfect enhancement. It's a major refactoring. So I vote revert. |
Am removing the bug label as it's now WIP. |
I think I copied this logic from $ wp plugin activate
Success: Plugin already activated. |
You're right, @swissspidy : wp-cli/entity-command#136 |
I guess we can re-use most of the logic from https://github.com/wp-cli/extension-command/pull/83/files |
I was just playing around with the new language command, but I couldn't get the list to work on a WP 4.7.9 install:
I had the same problem with themes as well.
The text was updated successfully, but these errors were encountered: