Commit 091f0b4
committed
Select memcached rand fn based on *_WP_ORG_MODE
We use mt_rand for memcached because CSPRNGs
can have lag spikes and we simply gain nothing
from the cryto properties. But wordpress.org
prohibits mt_rand, so we use wp_rand for WP.org
only.1 parent b9918e3 commit 091f0b4
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
49 | 60 | | |
50 | 61 | | |
51 | 62 | | |
| |||
0 commit comments