From 7f5e00ba298b06f8df5c4acf54b943505929835f Mon Sep 17 00:00:00 2001 From: Drew Jaynes <info@drewapicture.com> Date: Sun, 30 Jul 2017 14:32:45 +0000 Subject: [PATCH] Docs: Remove an unrelated description about post meta from the DocBlock for add_user_meta(). Clean up syntax. See #41017. Built from https://develop.svn.wordpress.org/trunk@41186 git-svn-id: http://core.svn.wordpress.org/trunk@41026 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 7 ++----- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 901c4300f8..24270000a7 100644 --- a/wp-includes/user.php +++ b/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) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 74365c4c5d..4e5aa1f328 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41185'; +$wp_version = '4.9-alpha-41186'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.