Skip to content

Commit f2cf6a3

Browse files
Docs: Mark WP_Debug_Data::get_sizes() as deprecated in WordPress 5.6.
Follow-up to [49154]. See #63166. git-svn-id: https://develop.svn.wordpress.org/trunk@60272 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 735c0fd commit f2cf6a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wp-admin/includes/class-wp-debug-data.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,6 +1860,8 @@ public static function get_database_size() {
18601860
* Intended to supplement the array returned by `WP_Debug_Data::debug_data()`.
18611861
*
18621862
* @since 5.2.0
1863+
* @deprecated 5.6.0 Use WP_REST_Site_Health_Controller::get_directory_sizes()
1864+
* @see WP_REST_Site_Health_Controller::get_directory_sizes()
18631865
*
18641866
* @return array The sizes of the directories, also the database size and total installation size.
18651867
*/

0 commit comments

Comments
 (0)