Skip to content

Commit c0aefd5

Browse files
committed
Fix footer in case of custom logo
1 parent 559b4eb commit c0aefd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

footer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<div class="col-4 col-md-2">
118118

119119
<?php
120-
$sunflower_logo = esc_url( wp_get_attachment_image_src( get_theme_mod( 'custom_logo' ), 'full' ) );
120+
$sunflower_logo = wp_get_attachment_image_src( get_theme_mod( 'custom_logo' ), 'full' );
121121

122122
if ( has_custom_logo() ) {
123123
printf( '<img src="%s" class="img-fluid" alt="Logo %s">', esc_url( $sunflower_logo[0] ), esc_attr( get_bloginfo( 'name' ) ) );

0 commit comments

Comments
 (0)