WordPress.org

Make WordPress Core

Ticket #14842: 14842.patch

File 14842.patch, 415 bytes (added by hakre, 9 years ago)

PHP4

  • wp-includes/capabilities.php

     
    12141214 */
    12151215function is_super_admin( $user_id = false ) {
    12161216        if ( $user_id )
    1217                 $user = new WP_User( $user_id );
     1217                $user = &new WP_User( $user_id );
    12181218        else
    12191219                $user = wp_get_current_user();
    12201220