Make WordPress Core


Ignore:
Timestamp:
04/29/2023 06:28:37 PM (14 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r55688 r55698  
    33403340                if ( strpos( $line, $header ) !== false ) {
    33413341                    $line = $header . ' ' . $value;
     3342                    break;
    33423343                }
    33433344            }
Note: See TracChangeset for help on using the changeset viewer.