Coding Standards: Break out of the inner loop in `make_site_theme_from_default()`.

This more closely matches the previous behavior with multiple `if`/`elseif` statements.

Follow-up to [55688].

See #56982.
Built from https://develop.svn.wordpress.org/trunk@55698


git-svn-id: http://core.svn.wordpress.org/trunk@55210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-04-29 18:30:23 +00:00
parent 225fe28e9f
commit 9954d0a927
2 changed files with 2 additions and 1 deletions

View File

@ -3339,6 +3339,7 @@ function make_site_theme_from_default( $theme_name, $template ) {
foreach ( $headers as $header => $value ) {
if ( strpos( $line, $header ) !== false ) {
$line = $header . ' ' . $value;
break;
}
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55697';
$wp_version = '6.3-alpha-55698';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.