From f5724680990344d38b82787e0724753397be6871 Mon Sep 17 00:00:00 2001 From: obenland Date: Mon, 23 Sep 2013 14:39:15 -0700 Subject: [PATCH] _s: Simplify header image example markup. `get_header_image()` will return the boolean false or an empty string if there is no header image. Both will be evaluated as false by the if statement. Related: http://core.trac.wordpress.org/ticket/25156 --- inc/custom-header.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/inc/custom-header.php b/inc/custom-header.php index e7e26f5..af9fb65 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -5,12 +5,11 @@ * * You can add an optional custom header image to header.php like so ... - - - - - + + + + + * * @package _s