Make WordPress Core


Ignore:
Timestamp:
03/25/2007 11:12:38 PM (15 years ago)
Author:
ryan
Message:

More int casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/pluggable-functions.php

    r4514 r5100  
    467467function wp_verify_nonce($nonce, $action = -1) {
    468468    $user = wp_get_current_user();
    469     $uid = $user->id;
     469    $uid = (int) $user->id;
    470470
    471471    $i = ceil(time() / 43200);
     
    481481function wp_create_nonce($action = -1) {
    482482    $user = wp_get_current_user();
    483     $uid = $user->id;
     483    $uid = (int) $user->id;
    484484
    485485    $i = ceil(time() / 43200);
Note: See TracChangeset for help on using the changeset viewer.