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 #7356
Discussed in https://core.trac.wordpress.org/ticket/61648

Props apermo, dmsnell.
See #61648.


git-svn-id: https://develop.svn.wordpress.org/trunk@59060 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
dmsnell committed Sep 18, 2024
1 parent a543c31 commit 5168e19
Showing 1 changed file with 196 additions and 185 deletions.
Loading

0 comments on commit 5168e19

Please sign in to comment.