Skip to content

Commit f4595a0

Browse files
committed
Themes: Remove unused private method WP_Theme::_check_headers_property_has_correct_type().
Follow-up to [56835]. Props marian1, mukesh27. Fixes #64584. git-svn-id: https://develop.svn.wordpress.org/trunk@62065 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 91ed455 commit f4595a0

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/wp-includes/class-wp-theme.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,16 +2163,4 @@ private static function _name_sort( $a, $b ) {
21632163
private static function _name_sort_i18n( $a, $b ) {
21642164
return strnatcasecmp( $a->name_translated, $b->name_translated );
21652165
}
2166-
2167-
private static function _check_headers_property_has_correct_type( $headers ) {
2168-
if ( ! is_array( $headers ) ) {
2169-
return false;
2170-
}
2171-
foreach ( $headers as $key => $value ) {
2172-
if ( ! is_string( $key ) || ! is_string( $value ) ) {
2173-
return false;
2174-
}
2175-
}
2176-
return true;
2177-
}
21782166
}

0 commit comments

Comments
 (0)