Ticket #52212: 52212.diff
| File 52212.diff, 585 bytes (added by , 5 years ago) |
|---|
-
wp-content/themes/twentytwentyone/inc/template-functions.php
diff --git a/wp-content/themes/twentytwentyone/inc/template-functions.php b/wp-content/themes/twentytwentyone/inc/template-functions.php index ec4efea..9b661cd 100644
a b 416 416 * @return array 417 417 */ 418 418 function twenty_twenty_one_get_attachment_image_attributes( $attr, $attachment, $size ) { 419 if ( is_admin() ) { 420 return $attr; 421 } 419 422 420 423 if ( isset( $attr['class'] ) && false !== strpos( $attr['class'], 'custom-logo' ) ) { 421 424 return $attr;