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; - } }