diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index ae207d2715..837770f519 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -948,8 +948,7 @@ function get_custom_logo( $blog_id = 0 ) { // We have a logo. Logo is go. if ( $custom_logo_id ) { $custom_logo_attr = array( - 'class' => 'custom-logo', - 'itemprop' => 'logo', + 'class' => 'custom-logo', ); /* @@ -966,7 +965,7 @@ function get_custom_logo( $blog_id = 0 ) { * it because wp_get_attachment_image() already adds the alt attribute. */ $html = sprintf( - '', + '%2$s', esc_url( home_url( '/' ) ), wp_get_attachment_image( $custom_logo_id, 'full', false, $custom_logo_attr ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 63e5d1e844..7ba00e3982 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-alpha-45027'; +$wp_version = '5.2-alpha-45028'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.