From ad57698f14acf3cd8e831c3f5dff5cc9538df75a Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 8 Sep 2005 21:18:28 +0000 Subject: [PATCH] Add the_author filter. Props markjaquith. fixes #1531 git-svn-id: http://svn.automattic.com/wordpress/trunk@2858 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-author.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/template-functions-author.php b/wp-includes/template-functions-author.php index 86aaa48d63..890e87bee2 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 $authordata->display_name; + return apply_filters('the_author', $authordata->display_name); } function the_author($idmode = '', $echo = true) { @@ -208,4 +208,4 @@ function list_authors($optioncount = false, $exclude_admin = true, $show_fullnam } } -?> \ No newline at end of file +?>