Update random_compat to master.

Clarifies strings, Merges [35587] upstream.
See #34409, #28633


git-svn-id: https://develop.svn.wordpress.org/trunk@35600 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2015-11-10 11:59:15 +00:00
parent 530d10e330
commit bea9afed7d
6 changed files with 7 additions and 7 deletions

View File

@@ -132,6 +132,6 @@ function random_bytes($bytes)
* If we reach here, PHP has failed us.
*/
throw new Exception(
'PHP failed to generate random data.'
'Error reading from source device'
);
}