WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/30/2017 02:32:00 PM (2 years ago)
Author:
DrewAPicture
Message:

Docs: Remove an unrelated description about post meta from the DocBlock for add_user_meta().

Clean up syntax.

See #41017.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r41171 r41186  
    757757
    758758/**
    759  * Add meta data field to a user.
    760  *
    761  * Post meta data is called "Custom Fields" on the Administration Screens.
     759 * Adds meta data to a user.
    762760 *
    763761 * @since 3.0.0
    764  * @link https://codex.wordpress.org/Function_Reference/add_user_meta
    765762 *
    766763 * @param int    $user_id    User ID.
    767764 * @param string $meta_key   Metadata name.
    768765 * @param mixed  $meta_value Metadata value.
    769  * @param bool   $unique     Optional, default is false. Whether the same key should not be added.
     766 * @param bool   $unique     Optional. Whether the same key should not be added. Default false.
    770767 * @return int|false Meta ID on success, false on failure.
    771768 */
Note: See TracChangeset for help on using the changeset viewer.