Last active
March 30, 2022 08:30
-
-
Save josephabrahams/315ed2d941ba83235a200a671bccf333 to your computer and use it in GitHub Desktop.
Get WordPress Salts in Env format
This file contains hidden or 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
#!/bin/sh | |
curl -s https://api.wordpress.org/secret-key/1.1/salt | sed "s/^define('\(.*\)',\ *'\(.*\)');$/\1='\2'/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment