Skip to content

Support --version for wp [theme|plugin] update #1488

@boonebgorges

Description

@boonebgorges

wp [theme|plugin] install supports a --version flag. update, however, has odd behavior for this param: according to the docs, any value for 'version' will force the latest version of the resource to be installed, but the code makes it look like only the value of 'dev' is accepted.

It'd be useful for me to specify a version for upgrades. I can look into patching this, but wanted first to ask whether there was a principled reason why update --version acts the way it does.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions