Changing siteurl and home option in WordPress 4.4?

When restoring a backup using UpDraft Plus we used to login to the WordPress instance and execute the following commands to change the siteurl and home options (using the wp-cli):

wp option update home 'https://<our dns>'
wp option update siteurl 'https://<our dns>'

This worked when using WordPress 4.3 but after upgrading to 4.4 setting the siteurl and home options doesn’t seem to have any effect. Has this changed in version 4.4 and if so how do I go about changing it (preferably using the wordpress cli)?

Related posts

1 comment

  1. You need to upgrade your WP CLI client. From their blog:

    Importantly, due to the nature of these changes, WP-CLI versions prior
    to 0.20.4 will be incompatible with WordPress 4.4.

    It’s not that the home and siteurl options changed, it’s about how WP CLI is working and how it include files to build his own wp-settings.php. Considering there have been a lot of file adds in the last version, WP CLI need to be updated to work with this new files.

Comments are closed.