Skip to content

Commit

Permalink
WP_Debug_Data: Extract wp-server data into separate method.
Browse files Browse the repository at this point in the history
This is the part four 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 fourth of twelve groups, the `wp-server` 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 https://github.com/wordpress/wordpress-develop/7283
Discussed in https://core.trac.wordpress.org/ticket/61648

Props apermo, costdev, dmsnell, kebbet, mukesh27.
See #61648.


git-svn-id: https://develop.svn.wordpress.org/trunk@59002 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
dmsnell committed Sep 10, 2024
1 parent ad1db11 commit 19fc9c7
Showing 1 changed file with 198 additions and 187 deletions.
Loading

0 comments on commit 19fc9c7

Please sign in to comment.