Make WordPress Core

Ticket #38254: 38254.2.patch

File 38254.2.patch, 1.3 KB (added by Mista-Flo, 9 years ago)

Refresh : Add core ticket @link to register_meta php doc

  • wp-includes/meta.php

    diff --git wp-includes/meta.php wp-includes/meta.php
    index b7ea2af..cfb9d95 100644
    function sanitize_meta( $meta_key, $meta_value, $object_type ) { 
    964964 * Registers a meta key.
    965965 *
    966966 * @since 3.3.0
    967  * @since 4.6.0 {@link https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/ Modified
     967 * @since 4.6.0 {@link https://core.trac.wordpress.org/ticket/35658 Modified
    968968 *              to support an array of data to attach to registered meta keys}. Previous arguments for
    969969 *              `$sanitize_callback` and `$auth_callback` have been folded into this array.
    970970 *