From f8ec9e956e94af10a45cfec1a163acce1266f6a0 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 19 Mar 2026 13:15:37 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-theme.php | 12 ------------ wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index a5f2459d49..6952c59bda 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -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; - } } diff --git a/wp-includes/version.php b/wp-includes/version.php index d628c5d212..77200ebe02 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.