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
This commit is contained in:
parent
9b90187611
commit
5741c2f6c1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user