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. Built from https://develop.svn.wordpress.org/trunk@51827 git-svn-id: http://core.svn.wordpress.org/trunk@51434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
64857a2a8e
commit
79c59fa78c
|
@ -165,7 +165,7 @@ function wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $le
|
|||
*
|
||||
* @param string $option_group A settings group name. Should correspond to an allowed option key name.
|
||||
* Default allowed option key names include 'general', 'discussion', 'media',
|
||||
* 'reading', 'writing', 'misc', 'options', and 'privacy'.
|
||||
* 'reading', 'writing', and 'options'.
|
||||
* @param string $option_name The name of an option to sanitize and save.
|
||||
* @param callable $sanitize_callback A callback function that sanitizes the option's value.
|
||||
*/
|
||||
|
|
|
@ -2259,7 +2259,7 @@ function register_initial_settings() {
|
|||
*
|
||||
* @param string $option_group A settings group name. Should correspond to an allowed option key name.
|
||||
* Default allowed option key names include 'general', 'discussion', 'media',
|
||||
* 'reading', 'writing', 'misc', 'options', and 'privacy'.
|
||||
* 'reading', 'writing', and 'options'.
|
||||
* @param string $option_name The name of an option to sanitize and save.
|
||||
* @param array $args {
|
||||
* Data used to describe the setting when registered.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51826';
|
||||
$wp_version = '5.9-alpha-51827';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue