- Timestamp:
- 10/23/2015 04:21:01 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/random_compat/random_bytes_openssl.php
r34922 r35365 42 42 function random_bytes($bytes) 43 43 { 44 if (!is_int($bytes)) { 44 try { 45 $bytes = RandomCompat_intval($bytes); 46 } catch (TypeError $ex) { 45 47 throw new TypeError( 46 ' Lengthmust be an integer'48 'random_bytes(): $bytes must be an integer' 47 49 ); 48 50 }
Note: See TracChangeset
for help on using the changeset viewer.