WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/07/2010 03:28:10 PM (11 years ago)
Author:
ryan
Message:

User is_super_admin(). Props ocean90. fixes #12888

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-deprecated.php

    r13998 r14032  
    102102 */
    103103function get_current_user_id() {
    104     _deprecated_function( __FUNCTION__, '3.0', '$GLOBALS\'current_user\']->ID' );
     104    _deprecated_function( __FUNCTION__, '3.0', '$GLOBALS[\'current_user\']->ID' );
    105105    return $GLOBALS['current_user']->ID;
    106106}
Note: See TracChangeset for help on using the changeset viewer.