Repository navigation
Commit 518fcad
committed
Security: Harden the random aspect of the hash used for network admin email changes.
Replace `mt_rand()` with `wp_rand()` when generating the network admin email confirmation hash, matching the site admin and user profile email change hashes.
Developed in: #15267
Props extremsx.
Fixes #66426.
git-svn-id: https://develop.svn.wordpress.org/trunk@65115 602fd350-edb4-49c9-b593-d223f7449a821 parent 3ed60aa commit 518fcad
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2806 | 2806 | | |
2807 | 2807 | | |
2808 | 2808 | | |
2809 | | - | |
| 2809 | + | |
2810 | 2810 | | |
2811 | 2811 | | |
2812 | 2812 | | |
| |||
0 commit comments