Make WordPress Core

Ticket #40318: 40318.diff

File 40318.diff, 812 bytes (added by iandunn, 9 years ago)
  • src/wp-includes/meta.php

    diff --git src/wp-includes/meta.php src/wp-includes/meta.php
    index cfb9d95a9e..a9e8f987f9 100644
    function sanitize_meta( $meta_key, $meta_value, $object_type ) { 
    974974 *     Data used to describe the meta key when registered.
    975975 *
    976976 *     @type string $type              The type of data associated with this meta key.
     977 *                                     Valid values are 'string', 'boolean', 'integer', and 'number'.
    977978 *     @type string $description       A description of the data attached to this meta key.
    978979 *     @type bool   $single            Whether the meta key has one value per object, or an array of values per object.
    979980 *     @type string $sanitize_callback A function or method to call when sanitizing `$meta_key` data.