Have get_footer() match get_header() etc in [24616]. fixes #24714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24617 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0df685da44
commit
634d743ccd
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user