[wp-trac] [WordPress Trac] #50807: Introduce a function for deprecated options
WordPress Trac
noreply at wordpress.org
Wed Jul 29 13:46:36 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:
-------------------------------------+---------------------
Changes (by desrosj):
* keywords: has-patch => has-patch needs-refresh
Comment:
[attachment:"approach-2.diff"] was an initial first pass at what this may
look like originally uploaded to ticket:50413#comment:38.
It needs a refresh, and still needs additional considerations. From the
previous comment:
> It is not yet handling database queries (which key should be checked
retrieved/updated/deleted when calling a deprecated option? The new one?
The old one?), but it does ensure that both the new and old actions and
filters run.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50807#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list