mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@51827 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user