mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user