WordPress.org

Make WordPress Core

Ticket #37305: 37305.2.patch

File 37305.2.patch, 900 bytes (added by tfrommen, 17 months ago)

Include yet another occurrence

  • src/wp-includes/general-template.php

    diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
    index ca2dbc02ec..ee4f6d7dd1 100644
    a b function get_custom_logo( $blog_id = 0 ) { 
    893893        // We have a logo. Logo is go.
    894894        if ( $custom_logo_id ) {
    895895                $custom_logo_attr = array(
    896                         'class'    => 'custom-logo',
    897                         'itemprop' => 'logo',
     896                        'class' => 'custom-logo',
    898897                );
    899898
    900899                /*
    function get_custom_logo( $blog_id = 0 ) { 
    911910                 * it because wp_get_attachment_image() already adds the alt attribute.
    912911                 */
    913912                $html = sprintf(
    914                         '<a href="%1$s" class="custom-logo-link" rel="home" itemprop="url">%2$s</a>',
     913                        '<a href="%1$s" class="custom-logo-link" rel="home">%2$s</a>',
    915914                        esc_url( home_url( '/' ) ),
    916915                        wp_get_attachment_image( $custom_logo_id, 'full', false, $custom_logo_attr )
    917916                );