mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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
This commit is contained in:
parent
44fc67cc24
commit
6e8b83cb65
@ -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()' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user