WordPress.org

Make WordPress Core

Ticket #37305: 37305.1.patch

File 37305.1.patch, 644 bytes (added by tfrommen, 2 years ago)
  • src/wp-includes/general-template.php

    diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
    index ca2dbc02ec..9da4b2dd0b 100644
    a b function get_custom_logo( $blog_id = 0 ) { 
    911911                 * it because wp_get_attachment_image() already adds the alt attribute.
    912912                 */
    913913                $html = sprintf(
    914                         '<a href="%1$s" class="custom-logo-link" rel="home" itemprop="url">%2$s</a>',
     914                        '<a href="%1$s" class="custom-logo-link" rel="home">%2$s</a>',
    915915                        esc_url( home_url( '/' ) ),
    916916                        wp_get_attachment_image( $custom_logo_id, 'full', false, $custom_logo_attr )
    917917                );