Skip to content

Commit 843b569

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@60970 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8ec91a4 commit 843b569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-admin/includes/class-custom-image-header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,8 +1547,8 @@ public function get_default_header_images() {
15471547

15481548
$already_has_default = false;
15491549

1550-
foreach ( $this->default_headers as $k => $h ) {
1551-
if ( $h['url'] === $default ) {
1550+
foreach ( $this->default_headers as $k => $header ) {
1551+
if ( $header['url'] === $default ) {
15521552
$already_has_default = true;
15531553
break;
15541554
}

0 commit comments

Comments
 (0)