Reputation: 263
Does anyone know if Wordpress Roots Bedrock Composer updates the Wordpress version? I have tried composer update
but it doesn't update the Wordpress version. Any help will be highly appreciated.
Thanks, Danish.
Upvotes: 1
Views: 1354
Reputation: 1212
Wordpress is treated as a required dependency by composer, so yes. It is updated when you run composer update
.
You can check if your composer packages are outdated with: composer outdated
(or composer show -l
). Each package will be listed showing the desired version (the version number specified in composer.json
) and the current released version.
Running composer update
, (or composer.phar update
) will update each package to your specified version. If you want to update the package to the latest version, but you're unaware of the current version number. You can remove the package, and then add it back in. Composer will add the package to your required dependency list with the latest version.
Upvotes: 2