Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Users: Adjust the initialization of the
$duplicated_keys
array in `…
…wp_salt()`. This avoids an endless loop if `get_current_user_id()` is used in a callback attached to the `gettext` filter. With the translated phrase moved into a separate assignment, the function succeeds in setting the static `$duplicated_keys` array once and no longer goes into this code section on subsequent calls. Follow-up to [54249]. Props adityaarora010196, SergeyBiryukov. Fixes #57121. Built from https://develop.svn.wordpress.org/trunk@55433 git-svn-id: http://core.svn.wordpress.org/trunk@54966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information