Make WordPress Core

Changeset 51832


Ignore:
Timestamp:
09/21/2021 01:20:20 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

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

    r51827 r51832  
    22512251 *
    22522252 * @since 2.7.0
     2253 * @since 3.0.0 The `misc` option group was deprecated.
     2254 * @since 3.5.0 The `privacy` option group was deprecated.
    22532255 * @since 4.7.0 `$args` can be passed to set flags on the setting, similar to `register_meta()`.
    22542256 * @since 5.5.0 `$new_whitelist_options` was renamed to `$new_allowed_options`.
Note: See TracChangeset for help on using the changeset viewer.