Coding Standards: Use more meaningful variable names in Custom Image Header.

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
This commit is contained in:
Sergey Biryukov
2025-10-18 13:26:30 +00:00
parent aa40e03117
commit acf738b39e
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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.