Ticket #32778: 32778.patch
| File 32778.patch, 747 bytes (added by , 11 years ago) |
|---|
-
wp-includes/compat.php
228 228 229 229 if ( ! function_exists( 'hash_equals' ) ) : 230 230 /** 231 * Compare two strings in constant time.231 * Timing attack safe string comparison 232 232 * 233 233 * This function was added in PHP 5.6. 234 * It can leak the length of a string .234 * It can leak the length of a string when arguments of differing length are supplied. 235 235 * 236 236 * @since 3.9.2 237 237 * 238 238 * @param string $a Expected string. 239 * @param string $b Actual string.239 * @param string $b Actual, user supplied, string. 240 240 * @return bool Whether strings are equal. 241 241 */ 242 242 function hash_equals( $a, $b ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)