Skip to content

Commit

Permalink
WP_Debug_Data: Extract wp-media data into separate method.
Browse files Browse the repository at this point in the history
This is the sixth part in a larger modularization of the data in `WP_Debug_Data`. Previously this was a single massive method drawing in debug data from various groups of related data, where the groups were independent from each other.

This patch separates the sixth of twelve groups, the `wp-media` info, into a separate method focused on that data.

This work precedes changes to make the `WP_Debug_Data` class more extensible for better use by plugin and theme code.

Developed in WordPress/wordpress-develop#7356
Discussed in https://core.trac.wordpress.org/ticket/61648

Props apermo, dmsnell.
See #61648.

Built from https://develop.svn.wordpress.org/trunk@59060


git-svn-id: https://core.svn.wordpress.org/trunk@58456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
dmsnell committed Sep 18, 2024
1 parent 31f22ef commit bec9a7a
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 186 deletions.
Loading

0 comments on commit bec9a7a

Please sign in to comment.