WordPress.org

Make WordPress Core

Ticket #34644: 34644.patch

File 34644.patch, 636 bytes (added by sebastian.pisula, 4 years ago)
  • wp-includes/theme.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    10381038                }
    10391039        }
    10401040
     1041        /**
     1042         * Filter the attributes of header image tag.
     1043         *
     1044         * @since 4.4.0
     1045         *
     1046         * @param array  $attr   Array of the attributes for the image tag.
     1047         */
     1048        $attr = apply_filters( 'header_image_attr', $attr );
     1049
    10411050        $attr = array_map( 'esc_attr', $attr );
    10421051        $html = '<img';
    10431052