#63516 closed defect (bug) (fixed)
Explicitly deprecate WP_Debug_Data::get_sizes()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.9 | Priority: | normal |
Severity: | minor | Version: | 5.6 |
Component: | Site Health | Keywords: | good-first-bug has-patch |
Focuses: | Cc: |
Description
WP_Debug_Data::get_sizes()
is unused in core as of [49154] (WordPress 5.6) and was soft-deprecated in [60272].
I think we can explicitly deprecate it by adding a _deprecated_function()
call at the top:
_deprecated_function( __METHOD__, '5.6.0', 'WP_REST_Site_Health_Controller::get_directory_sizes()' );
Change History (4)
This ticket was mentioned in PR #8883 on WordPress/wordpress-develop by @yashjawale.
5 weeks ago
#1
- Keywords has-patch added; needs-patch removed
@yashjawale commented on PR #8883:
5 weeks ago
#2
@ankitkumarshah commented on PR #8883:
5 weeks ago
#3
Note: See
TracTickets for help on using
tickets.
Trac ticket: 63516
---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.
This PR explicitly deprecates
WP_Debug_Data::get_sizes()
function according to suggestions in trac ticket (unused in core)