From 5741c2f6c1f156ff4336d1bd4418a9a481aca3fb Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 13 Jun 2017 02:32:15 +0000 Subject: [PATCH] Docs: Clarify that `get_the_author_meta()` can also return an empty string. h/t aurovrata. See #41017 git-svn-id: https://develop.svn.wordpress.org/trunk@40899 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/author-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php index eb050d89d8..cd4000a164 100644 --- a/src/wp-includes/author-template.php +++ b/src/wp-includes/author-template.php @@ -119,7 +119,7 @@ function the_modified_author() { * * @param string $field selects the field of the users record. * @param int $user_id Optional. User ID. - * @return string The author's field from the current author's DB object. + * @return string The author's field from the current author's DB object, otherwise an empty string. */ function get_the_author_meta( $field = '', $user_id = false ) { $original_user_id = $user_id;