diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 957ee1b00d..450b985879 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1027,8 +1027,9 @@ function get_header_image() { */ function get_header_image_tag( $attr = array() ) { $header = get_custom_header(); + $header->url = get_header_image(); - if ( empty( $header->url ) ) { + if ( ! $header->url ) { return ''; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3e988781f7..a94997c9aa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39120'; +$wp_version = '4.7-beta1-39121'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.