From b22e409f81c9f90ce3e6bd8991a05898798788b6 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 30 Jul 2017 14:32:00 +0000 Subject: [PATCH] Docs: Remove an unrelated description about post meta from the DocBlock for add_user_meta(). Clean up syntax. See #41017. git-svn-id: https://develop.svn.wordpress.org/trunk@41186 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 901c4300f8..24270000a7 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -756,17 +756,14 @@ function is_user_member_of_blog( $user_id = 0, $blog_id = 0 ) { } /** - * Add meta data field to a user. - * - * Post meta data is called "Custom Fields" on the Administration Screens. + * Adds meta data to a user. * * @since 3.0.0 - * @link https://codex.wordpress.org/Function_Reference/add_user_meta * * @param int $user_id User ID. * @param string $meta_key Metadata name. * @param mixed $meta_value Metadata value. - * @param bool $unique Optional, default is false. Whether the same key should not be added. + * @param bool $unique Optional. Whether the same key should not be added. Default false. * @return int|false Meta ID on success, false on failure. */ function add_user_meta($user_id, $meta_key, $meta_value, $unique = false) {