diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index 378e37fe3d..152832a18e 100644
a
|
b
|
function has_custom_logo( $blog_id = 0 ) { |
1000 | 1000 | * |
1001 | 1001 | * @since 4.5.0 |
1002 | 1002 | * @since 5.5.0 Added option to remove the link on the home page with `unlink-homepage-logo` theme support. |
| 1003 | * @since 5.5.1 Added false value for loading attribute to disable lazy loading by default. |
1003 | 1004 | * |
1004 | 1005 | * @param int $blog_id Optional. ID of the blog in question. Default is the ID of the current blog. |
1005 | 1006 | * @return string Custom logo markup. |
… |
… |
function get_custom_logo( $blog_id = 0 ) { |
1018 | 1019 | // We have a logo. Logo is go. |
1019 | 1020 | if ( $custom_logo_id ) { |
1020 | 1021 | $custom_logo_attr = array( |
1021 | | 'class' => 'custom-logo', |
| 1022 | 'class' => 'custom-logo', |
| 1023 | 'loading' => false, |
1022 | 1024 | ); |
1023 | 1025 | |
1024 | 1026 | $unlink_homepage_logo = (bool) get_theme_support( 'custom-logo', 'unlink-homepage-logo' ); |