diff --git a/wp-includes/template-functions-author.php b/wp-includes/template-functions-author.php index 3cb938d6ad..86aaa48d63 100644 --- a/wp-includes/template-functions-author.php +++ b/wp-includes/template-functions-author.php @@ -2,7 +2,7 @@ function get_the_author($idmode = '') { global $authordata; - return $author_data->display_name; + return $authordata->display_name; } function the_author($idmode = '', $echo = true) {