[wp-trac] [WordPress Trac] #63516: Explicitly deprecate WP_Debug_Data::get_sizes()

WordPress Trac noreply at wordpress.org
Mon Jun 2 15:00:10 UTC 2025


#63516: Explicitly deprecate WP_Debug_Data::get_sizes()
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  6.9
Component:  Site Health     |    Version:  5.6
 Severity:  minor           |   Keywords:  needs-patch good-first-bug
  Focuses:                  |
----------------------------+----------------------------------------
 `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()' );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63516>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list