mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
More nonce renewals from andy. fixes #6266
git-svn-id: https://develop.svn.wordpress.org/trunk@7376 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -953,7 +953,7 @@ if ( !function_exists('wp_nonce_tick') ) :
|
||||
* @return int
|
||||
*/
|
||||
function wp_nonce_tick() {
|
||||
$nonce_life = apply_filters('nonce_life', 86400) / 2;
|
||||
$nonce_life = apply_filters('nonce_life', 86400);
|
||||
|
||||
return ceil(time() / ( $nonce_life / 2 ));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user