Themes: Remove unused private method WP_Theme::_check_headers_property_has_correct_type().

Follow-up to [56835].

Props marian1, mukesh27.
Fixes #64584.


Built from https://develop.svn.wordpress.org/trunk@62065


git-svn-id: http://core.svn.wordpress.org/trunk@61347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb
2026-03-19 13:15:37 +00:00
parent 59b9275f85
commit f8ec9e956e
2 changed files with 1 additions and 13 deletions

View File

@@ -2163,16 +2163,4 @@ final class WP_Theme implements ArrayAccess {
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;
}
}

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-beta5-62064';
$wp_version = '7.0-beta5-62065';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.