Changeset 35805 for trunk/src/wp-includes/compat.php
- Timestamp:
- 12/06/2015 10:03:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r34981 r35805 229 229 if ( ! function_exists( 'hash_equals' ) ) : 230 230 /** 231 * Compare two strings in constant time. 231 * Timing attack safe string comparison 232 * 233 * Compares two strings using the same time whether they're equal or not. 232 234 * 233 235 * This function was added in PHP 5.6. 234 * It can leak the length of a string. 236 * 237 * Note: It can leak the length of a string when arguments of differing length are supplied. 235 238 * 236 239 * @since 3.9.2 237 240 * 238 241 * @param string $a Expected string. 239 * @param string $b Actual string.242 * @param string $b Actual, user supplied, string. 240 243 * @return bool Whether strings are equal. 241 244 */
Note: See TracChangeset
for help on using the changeset viewer.