[wp-trac] [WordPress Trac] #64584: WP_Theme: Unused private method _check_headers_property_has_correct_type()
WordPress Trac
noreply at wordpress.org
Mon Feb 2 04:01:47 UTC 2026
#64584: WP_Theme: Unused private method _check_headers_property_has_correct_type()
--------------------------+-----------------------------
Reporter: marian1 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
`WP_Theme::_check_headers_property_has_correct_type()` is a private static
method that is defined but not called anywhere. It was introduced in
WordPress 6.3.2 and was not used even at the time of introduction. Because
the method is private, it cannot be used by plugins or themes, and
removing it would not raise backwards-compatibility concerns.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64584>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list