Skip to content
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

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

Closed
1 task done
lkraav opened this issue Oct 14, 2019 · 6 comments
Closed
1 task done

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

lkraav opened this issue Oct 14, 2019 · 6 comments

Comments

@lkraav
Copy link

lkraav commented Oct 14, 2019

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?

@iandunn
Copy link
Contributor

iandunn commented Sep 16, 2022

That'd be useful to me too. I think it's worth adding to the default output of the plain wp plugin list command too.

@siilike
Copy link

siilike commented Oct 10, 2023

This would be a significant usability improvement.

@danielbachhuber
Copy link
Member

I'm open to it, if someone would like to submit a PR for it. We should probably change wp theme list too, for parity.

@danielbachhuber danielbachhuber changed the title plugin-list: default fields set should include update_version? Include update_version in default plugin list and theme list fields Nov 4, 2023
@swissspidy
Copy link
Member

If someone is looking for inspiration, in #379 I ended up with a related change by adding auto_update to the default plugin and theme list output. Might be useful here.

@sejas
Copy link
Contributor

sejas commented Nov 10, 2023

I would like to work on this issue during the #hackday
@swissspidy , thanks for pointing to the PR for inspiration 👍

@danielbachhuber
Copy link
Member

🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants