WordPress.org

Make WordPress Core

Ticket #25774: 25774.diff

File 25774.diff, 1.3 KB (added by mauryaratan, 6 years ago)
  • wp-includes/user.php

     
    812812 * @uses add_metadata()
    813813 * @link http://codex.wordpress.org/Function_Reference/add_user_meta
    814814 *
    815  * @param int $user_id Post ID.
     815 * @param int $user_id User ID.
    816816 * @param string $meta_key Metadata name.
    817817 * @param mixed $meta_value Metadata value.
    818818 * @param bool $unique Optional, default is false. Whether the same key should not be added.
     
    849849 * @uses get_metadata()
    850850 * @link http://codex.wordpress.org/Function_Reference/get_user_meta
    851851 *
    852  * @param int $user_id Post ID.
     852 * @param int $user_id User ID.
    853853 * @param string $key Optional. The meta key to retrieve. By default, returns data for all keys.
    854854 * @param bool $single Whether to return a single value.
    855855 * @return mixed Will be an array if $single is false. Will be value of meta data field if $single
     
    871871 * @uses update_metadata
    872872 * @link http://codex.wordpress.org/Function_Reference/update_user_meta
    873873 *
    874  * @param int $user_id Post ID.
     874 * @param int $user_id User ID.
    875875 * @param string $meta_key Metadata key.
    876876 * @param mixed $meta_value Metadata value.
    877877 * @param mixed $prev_value Optional. Previous value to check before removing.