From acf738b39e7106a802e06b50ef8a229053300820 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 18 Oct 2025 13:26:30 +0000 Subject: [PATCH] Coding Standards: Use more meaningful variable names in Custom Image Header. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per the [https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#naming-conventions Naming Conventions]: > Don’t abbreviate variable names unnecessarily; let the code be unambiguous and self-documenting. Follow-up to [27497], [27849]. Props costdev, mukesh27. See #63168. Built from https://develop.svn.wordpress.org/trunk@60970 git-svn-id: http://core.svn.wordpress.org/trunk@60306 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-custom-image-header.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-custom-image-header.php b/wp-admin/includes/class-custom-image-header.php index 3716b55909..e8a16e47dc 100644 --- a/wp-admin/includes/class-custom-image-header.php +++ b/wp-admin/includes/class-custom-image-header.php @@ -1547,8 +1547,8 @@ endif; $already_has_default = false; - foreach ( $this->default_headers as $k => $h ) { - if ( $h['url'] === $default ) { + foreach ( $this->default_headers as $k => $header ) { + if ( $header['url'] === $default ) { $already_has_default = true; break; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 9da7a553d6..2c331fa91d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60969'; +$wp_version = '6.9-alpha-60970'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.