Make WordPress Core


Ignore:
Timestamp:
08/27/2018 02:27:22 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve various inline documentation.

See #42505

File:
1 edited

Legend:

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

    r43571 r43582  
    151151 * @param mixed  $prev_value Optional. If specified, only update existing metadata entries with
    152152 *                           the specified value. Otherwise, update all entries.
    153  * @return int|bool Meta ID if the key didn't exist, true on successful update, false on failure.
     153 * @return int|bool The new meta field ID if a field with the given key didn't exist and was
     154 *                  therefore added, true on successful update, false on failure.
    154155 */
    155156function update_metadata( $meta_type, $object_id, $meta_key, $meta_value, $prev_value = '' ) {
Note: See TracChangeset for help on using the changeset viewer.