Skip to content

Instantly share code, notes, and snippets.

@cklosowski
Last active August 29, 2015 14:19
Show Gist options
  • Save cklosowski/5db46e028c509f0fbfee to your computer and use it in GitHub Desktop.
Save cklosowski/5db46e028c509f0fbfee to your computer and use it in GitHub Desktop.
Quick Command line alias to get a set of WordPress Salts for wp-config.php
# Add this to your .bashrc (linux) or .bash_profile (OS X)
alias getsalts="curl https://api.wordpress.org/secret-key/1.1/salt/"
# Changes to these files require closing and reopening a new terminal session to be recognized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment