Ticket #50933: general-template-50933.patch
File general-template-50933.patch, 646 bytes (added by , 4 years ago) |
---|
-
wp-includes/general-template.php
1017 1017 1018 1018 // We have a logo. Logo is go. 1019 1019 if ( $custom_logo_id ) { 1020 /* 1021 * Disallow 'loading' attribute to avoid triggering an issue Firefox seems to have. 1022 * See https://core.trac.wordpress.org/ticket/50933. 1023 */ 1020 1024 $custom_logo_attr = array( 1021 1025 'class' => 'custom-logo', 1026 'loading' => false, 1022 1027 ); 1023 1028 1024 1029 $unlink_homepage_logo = (bool) get_theme_support( 'custom-logo', 'unlink-homepage-logo' );