From 0f0089391b0f92d4508b8a4df567df2052161340 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 21 Sep 2021 13:20:20 +0000 Subject: [PATCH] Docs: Add `@since` notes to `register_setting()` for the deprecated `misc` and `privacy` option groups. Follow-up to [13745], [13746], [13749], [21838], [51827]. See #53399. git-svn-id: https://develop.svn.wordpress.org/trunk@51832 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/option.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php index 1aec64c253..6cc4e00b1a 100644 --- a/src/wp-includes/option.php +++ b/src/wp-includes/option.php @@ -2250,6 +2250,8 @@ function register_initial_settings() { * Registers a setting and its data. * * @since 2.7.0 + * @since 3.0.0 The `misc` option group was deprecated. + * @since 3.5.0 The `privacy` option group was deprecated. * @since 4.7.0 `$args` can be passed to set flags on the setting, similar to `register_meta()`. * @since 5.5.0 `$new_whitelist_options` was renamed to `$new_allowed_options`. * Please consider writing more inclusive code.