Wp config shuffle-salts

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
NAME

  wp config shuffle-salts

DESCRIPTION

  Refreshes the salts defined in the wp-config.php file.

SYNOPSIS

  wp config shuffle-salts [<keys>...] [--force] [--insecure]

OPTIONS

  [<keys>...]
    One ore more keys to shuffle. If none are provided, this falls back to the default WordPress Core salt keys.

  [--force]
    If an unknown key is requested to be shuffled, add it instead of throwing a warning.

  [--insecure]
    Retry API download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.

EXAMPLES

    # Get new salts for your wp-config.php file
    $ wp config shuffle-salts
    Success: Shuffled the salt keys.

    # Add a cache key salt to the wp-config.php file
    $ wp config shuffle-salts WP_CACHE_KEY_SALT --force