Skip to content

Commit

Permalink
Docs: Correct some typos in a comment in wp_salt().
Browse files Browse the repository at this point in the history
Follow-up to [58837].

Props kebbet.
Fixes #59871.

git-svn-id: https://develop.svn.wordpress.org/trunk@58838 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov authored and aslamdoctor committed Dec 28, 2024
1 parent 4d4bab8 commit a141de3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/wp-includes/pluggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2491,12 +2491,12 @@ function wp_salt( $scheme = 'auth' ) {
/*
* Also prime `secret_key` used for undefined salting schemes.
*
* If the scheme is unknown the default value for `secret_key` will be
* used to for the salt. This should rarely happen so the option is only
* If the scheme is unknown, the default value for `secret_key` will be
* used too for the salt. This should rarely happen, so the option is only
* primed if other salts are undefined.
*
* At this point of execution is is known that a database call will be made
* to prime salts so the `secret_key` option can be primed regardless of the
* At this point of execution it is known that a database call will be made
* to prime salts, so the `secret_key` option can be primed regardless of the
* constants status.
*/
$options_to_prime[] = 'secret_key';
Expand Down

0 comments on commit a141de3

Please sign in to comment.