mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Themes: Use correct escaping function for aria-label in _navigation_markup().
Follow-up to [46236]. Props sabernhardt, costdev, mukesh27. Fixes #58387. git-svn-id: https://develop.svn.wordpress.org/trunk@55863 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
66d85f381e
commit
3d0b0bb884
@ -3024,7 +3024,7 @@ function _navigation_markup( $links, $css_class = 'posts-navigation', $screen_re
|
||||
*/
|
||||
$template = apply_filters( 'navigation_markup_template', $template, $css_class );
|
||||
|
||||
return sprintf( $template, sanitize_html_class( $css_class ), esc_html( $screen_reader_text ), $links, esc_html( $aria_label ) );
|
||||
return sprintf( $template, sanitize_html_class( $css_class ), esc_html( $screen_reader_text ), $links, esc_attr( $aria_label ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user