Docs: Clarify that get_the_author_meta() can also return an empty string.

h/t aurovrata.
See #41017

Built from https://develop.svn.wordpress.org/trunk@40899


git-svn-id: http://core.svn.wordpress.org/trunk@40749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2017-06-13 02:33:42 +00:00
parent a64aa2115d
commit fe163ec82a
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ function the_modified_author() {
* *
* @param string $field selects the field of the users record. * @param string $field selects the field of the users record.
* @param int $user_id Optional. User ID. * @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 ) { function get_the_author_meta( $field = '', $user_id = false ) {
$original_user_id = $user_id; $original_user_id = $user_id;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-40898'; $wp_version = '4.9-alpha-40899';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.