From 7d83e73593dec65c581d64227f80685ca81371ee Mon Sep 17 00:00:00 2001 From: Marian <42134098+IanDelMar@users.noreply.github.com> Date: Mon, 2 Feb 2026 04:03:27 +0100 Subject: [PATCH] Remove unused private method WP_Theme::_check_headers_property_has_correct_type() --- src/wp-includes/class-wp-theme.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php index a6966351f185f..7c34df194e8e5 100644 --- a/src/wp-includes/class-wp-theme.php +++ b/src/wp-includes/class-wp-theme.php @@ -2155,16 +2155,4 @@ private static function _name_sort( $a, $b ) { private static function _name_sort_i18n( $a, $b ) { return strnatcasecmp( $a->name_translated, $b->name_translated ); } - - private static function _check_headers_property_has_correct_type( $headers ) { - if ( ! is_array( $headers ) ) { - return false; - } - foreach ( $headers as $key => $value ) { - if ( ! is_string( $key ) || ! is_string( $value ) ) { - return false; - } - } - return true; - } }