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:
Ryan Boren
2008-03-18 04:59:54 +00:00
parent 29cc2b5b9c
commit 33d0588565
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -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 ));
}