From b56bcec8ccd5b2d96a0922225454a5a22b644d11 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 17 Dec 2015 16:40:18 +0000 Subject: [PATCH] Docs: Add missing parameter and return descriptions to the DocBlock for `_wp_get_user_contactmethods()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35986 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 5f061e0868..7e83c57494 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -1897,8 +1897,13 @@ function wp_get_user_contact_methods( $user = null ) { /** * The old private function for setting up user contact methods. * + * Use wp_get_user_contact_methods() instead. + * * @since 2.9.0 * @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 ) { return wp_get_user_contact_methods( $user );