Make WordPress Core


Ignore:
Timestamp:
07/23/2018 05:01:02 PM (7 years ago)
Author:
kadamwhite
Message:

Docs: Update @since version to 4.9.8 for meta registration subtype handling.

This feature has been backported to 4.9.8 so 5.0.0 is inaccurate.

See #38323.

File:
1 edited

Legend:

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

    r43385 r43520  
    975975 *
    976976 * @since 3.1.3
    977  * @since 5.0.0 The `$object_subtype` parameter was added.
     977 * @since 4.9.8 The `$object_subtype` parameter was added.
    978978 *
    979979 * @param string $meta_key       Meta key.
     
    993993         * the meta key value, and the object subtype respectively.
    994994         *
    995          * @since 5.0.0
     995         * @since 4.9.8
    996996         *
    997997         * @param mixed  $meta_value     Meta value to sanitize.
     
    10331033 *              to support an array of data to attach to registered meta keys}. Previous arguments for
    10341034 *              `$sanitize_callback` and `$auth_callback` have been folded into this array.
    1035  * @since 5.0.0 The `$object_subtype` argument was added to the arguments array.
     1035 * @since 4.9.8 The `$object_subtype` argument was added to the arguments array.
    10361036 *
    10371037 * @param string $object_type    Type of object this meta is registered to.
     
    11491149 *
    11501150 * @since 4.6.0
    1151  * @since 5.0.0 The `$object_subtype` parameter was added.
     1151 * @since 4.9.8 The `$object_subtype` parameter was added.
    11521152 *
    11531153 * @param string $object_type    The type of object.
     
    11681168 *
    11691169 * @since 4.6.0
    1170  * @since 5.0.0 The `$object_subtype` parameter was added.
     1170 * @since 4.9.8 The `$object_subtype` parameter was added.
    11711171 *
    11721172 * @param string $object_type    The type of object.
     
    12171217 *
    12181218 * @since 4.6.0
    1219  * @since 5.0.0 The `$object_subtype` parameter was added.
     1219 * @since 4.9.8 The `$object_subtype` parameter was added.
    12201220 *
    12211221 * @param string $object_type    The type of object. Post, comment, user, term.
     
    13011301 * Returns the object subtype for a given object ID of a specific type.
    13021302 *
    1303  * @since 5.0.0
     1303 * @since 4.9.8
    13041304 *
    13051305 * @param string $object_type Type of object to request metadata for. (e.g. comment, post, term, user)
     
    13541354     * type (post, comment, term, or user).
    13551355     *
    1356      * @since 5.0.0
     1356     * @since 4.9.8
    13571357     *
    13581358     * @param string $object_subtype Empty string to override.
Note: See TracChangeset for help on using the changeset viewer.