Opened 2 years ago
Closed 20 months ago
#56589 closed defect (bug) (duplicate)
Add missing `_deprecated_function()` calls in deprecated functions
Reported by: | desrosj | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | good-first-bug has-patch needs-testing |
Focuses: | Cc: |
Description (last modified by )
There are several older deprecated functions that do not have a _deprecate_function()
call inside them.
- Admin deprecated: 10
- Admin MS deprecated: 1
- Normal deprecated: 1
Without this function, site owners are never informed that a deprecated function is being called on their site, and of the intended replacement if one exists. A _deprecated_function()
call should be added to these for consistency.
Change History (7)
This ticket was mentioned in PR #3375 on WordPress/wordpress-develop by CrochetFeve0251.
2 years ago
#1
- Keywords has-patch added; needs-patch removed
#3
@
2 years ago
- Summary changed from Add missing `__depreacted_function()` calls in deprecated functions to Add missing `_deprecated_function()` calls in deprecated functions
#5
@
22 months ago
This sounds like a duplicate of #41121, which created a huge discussion on "soft" deprecations versus "hard" deprecations, which is why that ticket is still open.
I think that discussion needs to be resolved first ?
Note: See
TracTickets for help on using
tickets.
Added missing
_deprecated_function
call in deprecated functions missing it.Trac ticket: 56589