diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 23499d7c07..b586762473 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -56,7 +56,7 @@ function get_footer( $name = null ) { $templates = array(); $name = (string) $name; - if ( null !== $name && false !== $name ) + if ( '' !== $name ) $templates[] = "footer-{$name}.php"; $templates[] = 'footer.php';