Commit d50235c
committed
Coding Standards: Remove unreachable
This commit removes an unreachable `return` statement, as the function will bail early if `$template_type` is not a `wp_template` or `wp_template_part`.
For the same reason, the second `if` conditional was also redundant and is now removed.
Follow-up to [52062].
Props justlevine.
See #63268.
git-svn-id: https://develop.svn.wordpress.org/trunk@60328 602fd350-edb4-49c9-b593-d223f7449a82return in _get_block_template_file().1 parent e2d67ed commit d50235c
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
| 347 | + | |
| 348 | + | |
352 | 349 | | |
353 | 350 | | |
354 | 351 | | |
| |||
0 commit comments