Changes in trunk/wp-includes/user.php [15235:14931]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r15235 r14931 210 210 // User option functions 211 211 // 212 213 /**214 * Get the current user's ID215 *216 * @since MU217 *218 * @uses wp_get_current_user219 *220 * @return int The current user's ID221 */222 function get_current_user_id() {223 $user = wp_get_current_user();224 return ( isset( $user->ID ) ? (int) $user->ID : 0 );225 }226 212 227 213 /**
Note: See TracChangeset
for help on using the changeset viewer.