Ticket #36341: 36341.diff
| File 36341.diff, 625 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/user.php
414 414 // 415 415 416 416 /** 417 * Get the current user's ID417 * Retrieves the current user's ID. 418 418 * 419 * Should be used only after the {@see 'init'} action has fired, as the current user 420 * is not set before that point in the loading order. 421 * 419 422 * @since MU 420 423 * 421 * @return int The current user's ID 424 * @return int The current user's ID. 422 425 */ 423 426 function get_current_user_id() { 424 427 if ( ! function_exists( 'wp_get_current_user' ) )