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