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:
Andrew Nacin 2013-07-09 20:48:02 +00:00
parent 0df685da44
commit 634d743ccd
1 changed files with 1 additions and 1 deletions

View File

@ -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';