Opened 5 years ago
Last modified 5 years ago
#50807 new feature request
Introduce a function for deprecated options
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch needs-refresh |
| Focuses: | Cc: |
Attachments (1)
Change History (7)
#2
@
5 years ago
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().
#3
@
5 years ago
Ah yes. That will need an adjustment. The context of approach-2.diff was limited to 5.5.
I think I like the suggestion of using get_deprecated_options() to provide the version details.
This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.
5 years ago
This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.
5 years ago
#6
@
5 years ago
- Milestone changed from 5.6 to Future Release
During today's core scrub, agreed this ticket needs more work and to punt it to Future Release.
If any maintainer or committer feels this can be resolved in time, or wishes to assume ownership during a specific cycle, feel free to update the milestone accordingly.
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: