Docs: Add missing parameter and return descriptions to the DocBlock for `_wp_get_user_contactmethods()`.

See #32246.

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


git-svn-id: http://core.svn.wordpress.org/trunk@35951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-12-17 16:41:27 +00:00
parent b6281e857f
commit 28412d2ef2
2 changed files with 6 additions and 1 deletions

View File

@ -1897,8 +1897,13 @@ function wp_get_user_contact_methods( $user = null ) {
/** /**
* The old private function for setting up user contact methods. * The old private function for setting up user contact methods.
* *
* Use wp_get_user_contact_methods() instead.
*
* @since 2.9.0 * @since 2.9.0
* @access private * @access private
*
* @param WP_User $user Optional. WP_User object. Default null.
* @return array Array of contact methods and their labels.
*/ */
function _wp_get_user_contactmethods( $user = null ) { function _wp_get_user_contactmethods( $user = null ) {
return wp_get_user_contact_methods( $user ); return wp_get_user_contact_methods( $user );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-35985'; $wp_version = '4.5-alpha-35986';
/** /**
* 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.