You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coding Standards: Remove extra check in wp_get_theme_data_template_parts().
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-d223f7449a82
0 commit comments