Have get_footer() match get_header() etc in [24616]. fixes #24714.
git-svn-id: http://core.svn.wordpress.org/trunk@24617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fb20e3b5bb
commit
34a1d5394c
|
@ -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