From 013d1178e5b8563e4bd09dfda72381986817179e Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 19 Dec 2015 09:04:26 +0000 Subject: [PATCH] Docs: Add missing parameter and return notations in the DocBlock for `get_profile()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@36028 git-svn-id: http://core.svn.wordpress.org/trunk@35993 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 041f9717f6..1c5bdfe2f8 100644 --- a/wp-includes/deprecated.php +++ b/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()' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c6c9f9b8d3..cc34c50cb6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36027'; +$wp_version = '4.5-alpha-36028'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.