mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
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:
parent
a64aa2115d
commit
fe163ec82a
@ -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;
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user