From 6e8b83cb6561962685831548dbbfe62b0499383a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 19 Dec 2015 09:03:11 +0000 Subject: [PATCH] Docs: Add missing parameter and return notations in the DocBlock for `get_profile()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36028 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/deprecated.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 041f9717f6..1c5bdfe2f8 100644 --- a/src/wp-includes/deprecated.php +++ b/src/wp-includes/deprecated.php @@ -2397,6 +2397,10 @@ function automatic_feed_links( $add = true ) { * @since 1.5.0 * @deprecated 3.0.0 Use get_the_author_meta() * @see get_the_author_meta() + * + * @param string $field User meta field. + * @param false|int $user Optional. User ID to retrieve the field for. Default false (current user). + * @return string The author's field from the current author's DB object. */ function get_profile( $field, $user = false ) { _deprecated_function( __FUNCTION__, '3.0', 'get_the_author_meta()' );