WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/20/2021 04:18:04 PM (4 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.

File:
1 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.
Note: See TracChangeset for help on using the changeset viewer.