mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 18:08:09 +01:00
Correct $user_id parameter description. props mauryaratan, Corphi. fixes #25774.
Built from https://develop.svn.wordpress.org/trunk@25997 git-svn-id: http://core.svn.wordpress.org/trunk@25930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11eb5055ac
commit
0888c85811
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user