Ticket #61408: 61408.2.diff
File 61408.2.diff, 545 bytes (added by , 11 months ago) |
---|
-
src/wp-includes/general-template.php
diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index a73ca34317..bf70defd38 100644
a b function has_custom_logo( $blog_id = 0 ) { 1035 1035 } 1036 1036 1037 1037 $custom_logo_id = get_theme_mod( 'custom_logo' ); 1038 $is_image = wp_attachment_is_image( $custom_logo_id );1038 $is_image = ( $custom_logo_id ) ? wp_attachment_is_image( $custom_logo_id ) : false; 1039 1039 1040 1040 if ( $switched_blog ) { 1041 1041 restore_current_blog();