Commit 8900f0a
committed
Coding Standards: Remove extra check in
The `false === $metadata` check would always be true, as a non-false value causes an early return right before. To clarify this behavior, the needless priming of `$metadata = false` was removed as well, as there is no scenario where it will not be immediately overwritten.
Follow-up to [56385].
Props justlevine.
See #63268.
git-svn-id: https://develop.svn.wordpress.org/trunk@60459 602fd350-edb4-49c9-b593-d223f7449a82wp_get_theme_data_template_parts().1 parent 8671dfe commit 8900f0a
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | 486 | | |
488 | 487 | | |
489 | 488 | | |
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
499 | 496 | | |
500 | 497 | | |
501 | 498 | | |
| |||
0 commit comments