[wp-trac] [WordPress Trac] #55937: Salting functions: translate the phrase `put your unique phrase here`.

WordPress Trac noreply at wordpress.org
Tue Jun 7 01:45:11 UTC 2022


#55937: Salting functions: translate the phrase `put your unique phrase here`.
---------------------------+---------------------
 Reporter:  peterwilsoncc  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  6.1
Component:  Security       |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [ticket:55937 peterwilsoncc]:
 > In `wp_salt()` WordPress pre-populates the check for duplicate salt
 values with the default `put your unique phrase here`. As the `wp-
 config.php` file for non-USA-English can be translated in downloaded
 packages, a translated version of this phrase ought to be in the pre-
 populated duplicate values array too.

 I might be missing something, but [19771] / #19599 did aim to account for
 translated values too, by using a fallback if any value is used more than
 once, whether translated or not. Does that not work as expected?

 Also noting that `wp-admin/maint/repair.php` has a slightly different
 implementation as of [32830] / #20779, and might need some adjustment as
 well.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55937#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list