WordPress.org

Make WordPress Core

Changeset 51827


Ignore:
Timestamp:
09/20/2021 04:18:04 PM (3 months ago)
Author:
johnjamesjacoby
Message:

Docs: Remove deprecated option groups from register_setting() and add_option_update_handler().

  • misc was deprecated in version 3.0.0.
  • privacy was deprecated in version 3.5.0.

See #53399.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r50563 r51827  
    166166 * @param string $option_group A settings group name. Should correspond to an allowed option key name.
    167167 *                             Default allowed option key names include 'general', 'discussion', 'media',
    168  *                             'reading', 'writing', 'misc', 'options', and 'privacy'.
     168 *                             'reading', 'writing', and 'options'.
    169169 * @param string $option_name The name of an option to sanitize and save.
    170170 * @param callable $sanitize_callback A callback function that sanitizes the option's value.
  • trunk/src/wp-includes/option.php

    r51818 r51827  
    22602260 * @param string $option_group A settings group name. Should correspond to an allowed option key name.
    22612261 *                             Default allowed option key names include 'general', 'discussion', 'media',
    2262  *                             'reading', 'writing', 'misc', 'options', and 'privacy'.
     2262 *                             'reading', 'writing', and 'options'.
    22632263 * @param string $option_name The name of an option to sanitize and save.
    22642264 * @param array  $args {
Note: See TracChangeset for help on using the changeset viewer.