Make WordPress Core

Ticket #40318: 40318.patch

File 40318.patch, 791 bytes (added by priyankabehera155, 9 years ago)
  • src/wp-includes/option.php

     
    18711871 *     Data used to describe the setting when registered.
    18721872 *
    18731873 *     @type string   $type              The type of data associated with this setting.
     1874 *                                       Valid values are 'string', 'boolean', 'integer', and 'number'.
    18741875 *     @type string   $description       A description of the data attached to this setting.
    18751876 *     @type callable $sanitize_callback A callback function that sanitizes the option's value.
    18761877 *     @type bool     $show_in_rest      Whether data associated with this setting should be included in the REST API.