WordPress.org

Make WordPress Core

Ticket #8776: 8776_4.diff

File 8776_4.diff, 434 bytes (added by MichaelH, 9 years ago)
  • wp-includes/author-template.php

     
    9090        if ( ! $user_id )
    9191                global $authordata;
    9292        else
    93                 $authordata = get_userdata( $auth_id );
     93                $authordata = get_userdata( $user_id );
    9494
    9595        $field = strtolower($field);
    9696        $user_field = "user_$field";