WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r25930 r25696  
    213213 */
    214214function get_current_user_id() {
    215     if ( ! function_exists( 'wp_get_current_user' ) )
    216         return 0;
    217215    $user = wp_get_current_user();
    218216    return ( isset( $user->ID ) ? (int) $user->ID : 0 );
Note: See TracChangeset for help on using the changeset viewer.