Ticket #21466: 21466.patch
File 21466.patch, 582 bytes (added by , 12 years ago) |
---|
-
wp-login.php
390 390 } 391 391 392 392 // 10 days 393 setcookie( 'wp-postpass_' . COOKIEHASH, $wp_hasher->HashPassword( stripslashes( $_POST['post_password'] ) ), time() + 864000, COOKIEPATH );393 setcookie( 'wp-postpass_' . COOKIEHASH, $wp_hasher->HashPassword( stripslashes( $_POST['post_password'] ) ), time() + apply_filters( 'post_password_expiry_length', 864000 ), COOKIEPATH ); 394 394 395 395 wp_safe_redirect( wp_get_referer() ); 396 396 exit();