Make WordPress Core

Ticket #58387: 58387.diff

File 58387.diff, 610 bytes (added by sabernhardt, 10 months ago)
  • src/wp-includes/link-template.php

     
    30243024         */
    30253025        $template = apply_filters( 'navigation_markup_template', $template, $css_class );
    30263026
    3027         return sprintf( $template, sanitize_html_class( $css_class ), esc_html( $screen_reader_text ), $links, esc_html( $aria_label ) );
     3027        return sprintf( $template, sanitize_html_class( $css_class ), esc_html( $screen_reader_text ), $links, esc_attr( $aria_label ) );
    30283028}
    30293029
    30303030/**