Ticket #58884: 58884.patch
File 58884.patch, 713 bytes (added by , 13 months ago) |
---|
-
wp-includes/general-template.php
1100 1100 * If the alt attribute is not empty, there's no need to explicitly pass it 1101 1101 * because wp_get_attachment_image() already adds the alt attribute. 1102 1102 */ 1103 $image = wp_get_attachment_image( $custom_logo_id, 'full', false, $custom_logo_attr );1103 $image = wp_get_attachment_image( $custom_logo_id, array( 512, 512 ), false, $custom_logo_attr ); 1104 1104 1105 1105 if ( $unlink_homepage_logo && is_front_page() && ! is_paged() ) { 1106 1106 // If on the home page, don't link the logo to home.