Incorrect format for options on plugin update page
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 83/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- php, wordpress
- 領域
- cli, documentation
研究方向
issue 連結到 developer.wordpress.org/cli/commands/plugin/update/ 上的外掛更新指令頁面。首先,根據指令範例和回報的成功呼叫方式檢查文件中的版本選項。更新選項格式,使其符合 issue 中顯示的雙連字號形式;頁面記載 --version=<version> 後即完成。
由索引模型根據 Issue 內容生成。
描述
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$
- 主要語言
- Gherkin
- 星號
- 90
- 分支
- 87
- 平均合併
- 2 天 7 小時
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
wp-cli/extension-command 的其他 Issue
-
`wp theme mod set` prints its failure message as `Success` and exits 0可能已有人在做 @dhrupo 於 4 天前認領。 未關閉bug command:theme-mod-set status:unconfirmed
難度 2/5 1-3 小時 新手友好度 82/100
wp-cli/extension-command#570 ·
-
Download update packages concurrently before running the bulk upgrader可能已有人在做 @austinginder 於 53 天前認領。 未關閉command:plugin-update command:theme-update
難度 4/5 3-5 天 新手友好度 48/100
wp-cli/extension-command#555 · 2 則留言 ·
-
opcache invalidation可能已有人在做 @swissspidy 於 269 天前認領。 未關閉command:plugin-update command:theme-update
wp-cli/extension-command#444 · 10 則留言 · 1 個 reaction · 已指派 2 人 ·
-
Add wp theme cache command可能已有人在做 @swissspidy 於 281 天前認領。 未關閉command:theme state:unconfirmed
wp-cli/extension-command#392 · 9 則留言 · 1 個 reaction · 已指派 2 人 ·
查看 wp-cli/extension-command 的全部 Issue
相似的 Issue
-
help wanted new command
難度 2/5 1-3 小時 新手友好度 76/100
tldr-pages/tldr#25111 ·
維護者通常 1 天內回覆
-
enhancement good first issue
難度 1/5 1 小時以內 新手友好度 91/100
-
bug good first issue
難度 2/5 1-3 小時 新手友好度 82/100
MysterionRise/pubchem-finder#114 ·
維護者通常 1 天內回覆
-
enhancement good first issue
難度 1/5 1 小時以內 新手友好度 95/100
-
難度 2/5 1-3 小時 新手友好度 78/100
ParaToolsInc/taucmdr#452 ·