[wp-trac] [WordPress Trac] #50807: Introduce a function for deprecated options
WordPress Trac
noreply at wordpress.org
Wed Jul 29 14:56:29 UTC 2020
#50807: Introduce a function for deprecated options
-------------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 5.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+---------------------
Comment (by TobiasBg):
The call `_deprecated_option( $option, '5.5.0', $deprecated_options[
$option ] );` won't work for deprecated options in future versions. The
version information probably has to go to `get_deprecated_options()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50807#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list