Make WordPress Core


Ignore:
Timestamp:
03/23/2007 12:59:21 AM (18 years ago)
Author:
matt
Message:

(int)er the dragon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r5061 r5087  
    526526function wp_verify_nonce($nonce, $action = -1) {
    527527    $user = wp_get_current_user();
    528     $uid = $user->id;
     528    $uid = (int) $user->id;
    529529
    530530    $i = ceil(time() / 43200);
     
    540540function wp_create_nonce($action = -1) {
    541541    $user = wp_get_current_user();
    542     $uid = $user->id;
     542    $uid = (int) $user->id;
    543543
    544544    $i = ceil(time() / 43200);
Note: See TracChangeset for help on using the changeset viewer.