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:
parent
b6281e857f
commit
28412d2ef2
|
@ -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 );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue