From f55835e0dbcc0e032b7d0c0afeb3f0c4a919fb51 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 20 Aug 2009 16:21:44 +0000 Subject: [PATCH] Pass the to the {get_}the_author_meta filters. Fixes #10661 props scribu git-svn-id: https://develop.svn.wordpress.org/trunk@11849 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/author-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 908e233543..fc90562c7a 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -104,7 +104,7 @@ function get_the_author_meta($field = '', $user_id = false) { else $value = isset($authordata->$field) ? $authordata->$field : ''; - return apply_filters('get_the_author_' . $field, $value); + return apply_filters('get_the_author_' . $field, $value, $user_id); } /** @@ -116,7 +116,7 @@ function get_the_author_meta($field = '', $user_id = false) { * @echo string The author's field from the current author's DB object. */ function the_author_meta($field = '', $user_id = false) { - echo apply_filters('the_author_' . $field, get_the_author_meta($field, $user_id)); + echo apply_filters('the_author_' . $field, get_the_author_meta($field, $user_id), $user_id); } /**