From b73a9d7e8cccaa76434fa3a2bb7d38b170c5abed Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 23 Dec 2004 21:52:09 +0000 Subject: [PATCH] Have get_function return unadulterated data git-svn-id: http://svn.automattic.com/wordpress/trunk@1996 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-author.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-includes/template-functions-author.php b/wp-includes/template-functions-author.php index bf2dad93c7..b9d718125a 100644 --- a/wp-includes/template-functions-author.php +++ b/wp-includes/template-functions-author.php @@ -64,10 +64,12 @@ function the_author_ID() { } function get_the_author_email() { - global $id,$authordata; return antispambot($authordata->user_email); + global $authordata; + return $authordata->user_email; } + function the_author_email() { - echo get_the_author_email(); + echo apply_filters('the_author_email', get_the_author_email() ); } function get_the_author_url() {