Incorrect format for options on plugin update page
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 83/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- php, wordpress
- Domain
- cli, documentation
Research direction
The issue links to the plugin update command page at developer.wordpress.org/cli/commands/plugin/update/. Start by checking the documented version option against the command examples and the reported successful invocation. Update the option format to match the double-dash form shown in the issue; done when the page documents --version=<version>.
Written by the indexing model from the issue text.
Description
https://developer.wordpress.org/cli/commands/plugin/update/
Current page states:
–version=
should be:
–-version=
user@server:~/public_html$ wp plugin update wordfence -version=9.1.1
Warning: The '-version=9.1.1' plugin could not be found.
Error: No plugins updated (1 failed).
user@server:~/public_html$ wp plugin update wordfence --version=9.1.1
Installing Wordfence Security – Firewall, Malware Scan, and Login Security (9.1.1)
Downloading installation package from https://downloads.wordpress.org/plugin/wordfence.9.1.1.zip...
Unpacking the package...
Installing the plugin...
Removing the old version of the plugin...
Plugin updated successfully.
Success: Installed 1 of 1 plugins.
user@server:~/public_html$
- Dominant language
- Gherkin
- Stars
- 90
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wp-cli/extension-command
-
`wp theme mod set` prints its failure message as `Success` and exits 0Possibly taken @dhrupo claimed this 4 days ago. Openbug command:theme-mod-set status:unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
wp-cli/extension-command#570 ·
-
Download update packages concurrently before running the bulk upgraderPossibly taken @austinginder claimed this 53 days ago. Opencommand:plugin-update command:theme-update
Difficulty 4/5 3-5 days Newbie friendliness 48/100
wp-cli/extension-command#555 · 2 comments ·
-
opcache invalidationPossibly taken @swissspidy claimed this 269 days ago. Opencommand:plugin-update command:theme-update
wp-cli/extension-command#444 · 10 comments · 1 reaction · 2 assignees ·
-
Add wp theme cache commandPossibly taken @swissspidy claimed this 281 days ago. Opencommand:theme state:unconfirmed
wp-cli/extension-command#392 · 9 comments · 1 reaction · 2 assignees ·
All issues in wp-cli/extension-command
Similar issues
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
tldr-pages/tldr#25111 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 1/5 Under an hour Newbie friendliness 91/100
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MysterionRise/pubchem-finder#114 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ParaToolsInc/taucmdr#452 ·