Skip to content

WordPress Update

Philipp Heuer edited this page Jan 30, 2017 · 1 revision

WordPresss

Updating WordPress

If there are any new updates, you can update WordPress by changing the version number in the file composer.json.

"require": {
	...
	"johnpbloch/wordpress": "4.7.2",
	...
}

You need to run composer to update the composer.lock with your new changes from the composer.json.

$ composer update

For more information about composer visit this link.

Please remember to commit your changes to git and push your changes to heroku.

$ git add composer.json composer.lock
$ git commit -m "WordPress updated to version 4.7.x"
$ git push heroku master
Clone this wiki locally