diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-06-19 22:35:46 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-06-19 22:35:46 +0000 |
commit | d50235c0fa7b58c55cd7f34b28ec68c16e6582c1 (patch) | |
tree | af67bf5c847b85cf9e5d187a68c46f99b42d3d1b /tests/phpunit/includes/class-mockobject-autoload.php | |
parent | e2d67edf6e702ed6bb4c6709ead6fd2fa272d227 (diff) | |
download | wordpress-trunk.tar.gz wordpress-trunk.zip |
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-d223f7449a82
Diffstat (limited to 'tests/phpunit/includes/class-mockobject-autoload.php')
0 files changed, 0 insertions, 0 deletions