Skip to content

wp core install forcefully upgrades WordPress version #161

Open
@takaya1992

Description

@takaya1992

I'm having trouble because wp core install forcibly upgrades the WordPress version.

Is it necessary to upgrade WordPress in the command?
I want to remove the upgrade process if not need it.

For example...

Specify the version and download core.
(There are cases where you want to try a past version, right?)

$ wp core download --path=/path/to/dir --version=5.4.1

Make sure you have downloaded the specified version.

$ wp core version --path=/path/to/dir
5.4.1

After setting up and creating the DB, install core.

$ wp core install --path=/path/to/dir --url=http://example.com/ --title=example --admin_user=admin --admin_password=admin --admin_email='[email protected]'
Success: WordPress installed successfully.

(Even if the command ends, the upgrade process is being executed asynchronously, so wait about 30 seconds)
Check the version of core again.

$ wp core version --path=/path/to/dir
5.4.2

The version has changed.

Please remove the WordPress upgrade process in wp core install, or any other workarounds?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions