🌐 AI搜索 & 代理 主页
Skip to content

Include update_version in default plugin list and theme list fields #198

@lkraav

Description

@lkraav

Feature Request

Describe your use case and the problem you are facing

wp plugin list --update=available fails to display what version updates are available.

Describe the solution you'd like

wp plugin list --update=available --fields=name,status,update,version,update_version works as desired, which made me wonder why update_version field isn't part of the default output set?

I am aware of update_version possibly being subject to a race condition, where a plugin author may upload a newer version during the time to user executing the actual wp plugin update command. Still feels like seeing update_version has more benefits than drawbacks.

Your thoughts?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions