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:
Andrew Nacin 2013-07-09 20:48:02 +00:00
parent fb20e3b5bb
commit 34a1d5394c
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';