mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
(int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user