[wp-trac] [WordPress Trac] #61648: WP_Debug_Data::debug_data() is overly complex
WordPress Trac
noreply at wordpress.org
Fri Oct 4 00:09:28 UTC 2024
#61648: WP_Debug_Data::debug_data() is overly complex
----------------------------+----------------------
Reporter: apermo | Owner: dmsnell
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 6.7
Component: Site Health | Version: 6.6
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
----------------------------+----------------------
Comment (by dmsnell):
In [changeset:"59164" 59164]:
{{{
#!CommitTicketReference repository="" revision="59164"
WP_Debug_Data: Normalize visibility of new methods.
In ongoing work to modularize the `WP_Debug_Data` class, several methods
were added with `public` visibility. This patch sets the new methods to
`private` as a measure to ensure optionality as the changes progress,
since it's easier to move from private to public than the other way
around.
Developed in https://github.com/wordpress/wordpress-develop/pull/7482
Discussed in https://core.trac.wordpress.org/ticket/61648
Follow-up to [58830], [58855], [58964], [59002], [59011], [59060],
[59100].
Props apermo, jonsurrell.
Fixes #61648.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61648#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list