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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user