Closed MoBlockbuster closed 5 months ago
Hi @MoBlockbuster,
for core it's already possible: the --patch
argument for wp plugin update
works the same way as --minor
argument for wp core update
. See the description in link you provided.
The reason for this confusion is that WordPress version numbering is different from semantic version numbering - see: https://make.wordpress.org/core/handbook/about/release-cycle/version-numbering/
hi @chesio thanks for the information. then this function is only missing for the themeupdate
We can add --minor
and --patch
arguments to wp theme update
.
Feel free to submit a pull request, if you'd like. Here is some guidance on our pull request best practices.
Hi @danielbachhuber I want to create PR for this issue if it's not already resolved, can you please guide me?
@up1512001 It's not already resolved, no. What do you need guidance on?
@up1512001 It's not already resolved, no. What do you need guidance on?
I am new to WP-CLI contribution so can you please tell me how should I approach this issue?
@up1512001 Please review the handbook and codebase to get acquainted.
You're also welcome to stop by the #cli
channel on WordPress.org Slack if you have specific questions.
the wpcli tool has the possibility to run a patchlevel update for plugins (--patch):
https://developer.wordpress.org/cli/commands/plugin/update/
It would be very helpful to run the same patchlevelupdate for the themes and the wp core.
There is no parameter for the patchlevelupdate (--patch):
https://developer.wordpress.org/cli/commands/theme/update/ https://developer.wordpress.org/cli/commands/core/update/
It would be also nice, if there a minorlevelupdate for themes (--minor).