(int)er the dragon.

git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2007-03-23 00:59:21 +00:00
parent 3e2783acdd
commit b1f6f9a6a8
31 changed files with 434 additions and 432 deletions

View File

@@ -525,7 +525,7 @@ endif;
if ( !function_exists('wp_verify_nonce') ) :
function wp_verify_nonce($nonce, $action = -1) {
$user = wp_get_current_user();
$uid = $user->id;
$uid = (int) $user->id;
$i = ceil(time() / 43200);
@@ -539,7 +539,7 @@ endif;
if ( !function_exists('wp_create_nonce') ) :
function wp_create_nonce($action = -1) {
$user = wp_get_current_user();
$uid = $user->id;
$uid = (int) $user->id;
$i = ceil(time() / 43200);