Make WordPress Core


Ignore:
Timestamp:
02/01/2020 09:59:14 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct DocBlock formatting for register_setting().

Document the full list of whitelisted option key names.

See #48303.

File:
1 edited

Legend:

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

    r47122 r47157  
    20992099 *
    21002100 * @param string $option_group A settings group name. Should correspond to a whitelisted option key name.
    2101  *  Default whitelisted option key names include "general," "discussion," and "reading," among others.
     2101 *                             Default whitelisted option key names include 'general', 'discussion', 'media',
     2102 *                             'reading', 'writing', 'misc', 'options', and 'privacy'.
    21022103 * @param string $option_name The name of an option to sanitize and save.
    21032104 * @param array  $args {
Note: See TracChangeset for help on using the changeset viewer.