Changeset 18504 for trunk/wp-includes/pluggable.php
- Timestamp:
- 08/04/2011 03:09:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r18195 r18504 784 784 $user = wp_get_current_user(); 785 785 786 if ( $user-> id== 0 )786 if ( $user->ID == 0 ) 787 787 return false; 788 788 … … 1309 1309 function wp_verify_nonce($nonce, $action = -1) { 1310 1310 $user = wp_get_current_user(); 1311 $uid = (int) $user-> id;1311 $uid = (int) $user->ID; 1312 1312 1313 1313 $i = wp_nonce_tick(); … … 1335 1335 function wp_create_nonce($action = -1) { 1336 1336 $user = wp_get_current_user(); 1337 $uid = (int) $user-> id;1337 $uid = (int) $user->ID; 1338 1338 1339 1339 $i = wp_nonce_tick();
Note: See TracChangeset
for help on using the changeset viewer.