Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r15235 r14931  
    210210// User option functions
    211211//
    212 
    213 /**
    214  * Get the current user's ID
    215  *
    216  * @since MU
    217  *
    218  * @uses wp_get_current_user
    219  *
    220  * @return int The current user's ID
    221  */
    222 function get_current_user_id() {
    223     $user = wp_get_current_user();
    224     return ( isset( $user->ID ) ? (int) $user->ID : 0 );
    225 }
    226212
    227213/**
Note: See TracChangeset for help on using the changeset viewer.