Changeset 25930
- Timestamp:
- 10/26/2013 03:21:18 AM (11 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 25929
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/user.php
r25696 r25930 213 213 */ 214 214 function get_current_user_id() { 215 if ( ! function_exists( 'wp_get_current_user' ) ) 216 return 0; 215 217 $user = wp_get_current_user(); 216 218 return ( isset( $user->ID ) ? (int) $user->ID : 0 );
Note: See TracChangeset
for help on using the changeset viewer.