Ticket #25690: 25690.diff
| File 25690.diff, 443 bytes (added by , 13 years ago) |
|---|
-
src/wp-includes/user.php
212 212 * @return int The current user's ID 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 ); 217 219 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)