Created
February 24, 2017 19:07
-
-
Save lucas-pelton/18eec230c427a812b5798233c239f289 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prefix="<?php | |
/**#@+ | |
Authentication Unique Keys and Salts. | |
Change these to different unique phrases! | |
You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} | |
You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. | |
*/" | |
for salt in `find ./ -name wp-salt.php`; do echo "$prefix" > $salt; curl https://api.wordpress.org/secret-key/1.1/salt/ >> $salt; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment