Make WordPress Core


Ignore:
Timestamp:
07/08/2020 01:13:50 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #49572.

File:
1 edited

Legend:

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

    r48402 r48408  
    12271227 *     @type string     $description       A description of the data attached to this meta key.
    12281228 *     @type bool       $single            Whether the meta key has one value per object, or an array of values per object.
    1229  *     @type mixed      $default           The default value returned from {@see get_metadata()} if no value has been set yet.
    1230  *                                         When using a non-single meta key, the default value is for the first entry. In other
    1231  *                                         words, when calling {@see get_metadata()} with `$single` set to `false`, the default
    1232  *                                         value given here will be wrapped in an array.
     1229 *     @type mixed      $default           The default value returned from get_metadata() if no value has been set yet.
     1230 *                                         When using a non-single meta key, the default value is for the first entry.
     1231 *                                         In other words, when calling get_metadata() with `$single` set to `false`,
     1232 *                                         the default value given here will be wrapped in an array.
    12331233 *     @type string     $sanitize_callback A function or method to call when sanitizing `$meta_key` data.
    12341234 *     @type string     $auth_callback     Optional. A function or method to call when performing edit_post_meta,
Note: See TracChangeset for help on using the changeset viewer.