From 3c625347e6f4cf6321f9253e7bd201d3a5650203 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 30 Oct 2013 20:17:21 +0000 Subject: [PATCH] Correct $user_id parameter description. props mauryaratan, Corphi. fixes #25774. git-svn-id: https://develop.svn.wordpress.org/trunk@25997 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 85d5338c37..a534232405 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -812,7 +812,7 @@ function is_user_member_of_blog( $user_id = 0, $blog_id = 0 ) { * @uses add_metadata() * @link http://codex.wordpress.org/Function_Reference/add_user_meta * - * @param int $user_id Post ID. + * @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. @@ -849,7 +849,7 @@ function delete_user_meta($user_id, $meta_key, $meta_value = '') { * @uses get_metadata() * @link http://codex.wordpress.org/Function_Reference/get_user_meta * - * @param int $user_id Post ID. + * @param int $user_id User ID. * @param string $key Optional. The meta key to retrieve. By default, returns data for all keys. * @param bool $single Whether to return a single value. * @return mixed Will be an array if $single is false. Will be value of meta data field if $single @@ -871,7 +871,7 @@ function get_user_meta($user_id, $key = '', $single = false) { * @uses update_metadata * @link http://codex.wordpress.org/Function_Reference/update_user_meta * - * @param int $user_id Post ID. + * @param int $user_id User ID. * @param string $meta_key Metadata key. * @param mixed $meta_value Metadata value. * @param mixed $prev_value Optional. Previous value to check before removing.