WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/13/2011 11:45:31 PM (10 years ago)
Author:
ryan
Message:

Use one space, not two, after trailing punctuation. fixes #19537

File:
1 edited

Legend:

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

    r19054 r19593  
    33 * Metadata API
    44 *
    5  * Functions for retrieving and manipulating metadata of various WordPress object types.  Metadata
    6  * for an object is a represented by a simple key-value pair.  Objects may contain multiple
     5 * Functions for retrieving and manipulating metadata of various WordPress object types. Metadata
     6 * for an object is a represented by a simple key-value pair. Objects may contain multiple
    77 * metadata entries that share the same key and differ only in their value.
    88 *
     
    2424 * @param string $meta_key Metadata key
    2525 * @param string $meta_value Metadata value
    26  * @param bool $unique Optional, default is false.  Whether the specified metadata key should be
    27  *      unique for the object.  If true, and the object already has a value for the specified
     26 * @param bool $unique Optional, default is false. Whether the specified metadata key should be
     27 *      unique for the object. If true, and the object already has a value for the specified
    2828 *      metadata key, no change will be made
    2929 * @return bool The meta ID on successful update, false on failure.
     
    8181
    8282/**
    83  * Update metadata for the specified object.  If no value already exists for the specified object
     83 * Update metadata for the specified object. If no value already exists for the specified object
    8484 * ID and metadata key, the metadata will be added.
    8585 *
     
    9595 * @param string $meta_key Metadata key
    9696 * @param string $meta_value Metadata value
    97  * @param string $prev_value Optional.  If specified, only update existing metadata entries with
    98  *      the specified value.  Otherwise, update all entries.
     97 * @param string $prev_value Optional. If specified, only update existing metadata entries with
     98 *      the specified value. Otherwise, update all entries.
    9999 * @return bool True on successful update, false on failure.
    100100 */
     
    175175 * @param int $object_id ID of the object metadata is for
    176176 * @param string $meta_key Metadata key
    177  * @param string $meta_value Optional. Metadata value.  If specified, only delete metadata entries
    178  *      with this value.  Otherwise, delete all entries with the specified meta_key.
    179  * @param bool $delete_all Optional, default is false.  If true, delete matching metadata entries
    180  *      for all objects, ignoring the specified object_id.  Otherwise, only delete matching
     177 * @param string $meta_value Optional. Metadata value. If specified, only delete metadata entries
     178 *      with this value. Otherwise, delete all entries with the specified meta_key.
     179 * @param bool $delete_all Optional, default is false. If true, delete matching metadata entries
     180 *      for all objects, ignoring the specified object_id. Otherwise, only delete matching
    181181 *      metadata entries for the specified object_id.
    182182 * @return bool True on successful delete, false on failure.
     
    257257 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)
    258258 * @param int $object_id ID of the object metadata is for
    259  * @param string $meta_key Optional.  Metadata key. If not specified, retrieve all metadata for
     259 * @param string $meta_key Optional. Metadata key. If not specified, retrieve all metadata for
    260260 *      the specified object.
    261  * @param bool $single Optional, default is false.  If true, return only the first value of the
    262  *      specified meta_key.  This parameter has no effect if meta_key is not specified.
     261 * @param bool $single Optional, default is false. If true, return only the first value of the
     262 *      specified meta_key. This parameter has no effect if meta_key is not specified.
    263263 * @return string|array Single metadata value, or array of values
    264264 */
Note: See TracChangeset for help on using the changeset viewer.