Themes: Use correct escaping function for `aria-label` in `_navigation_markup()`.
Follow-up to [46236]. Props sabernhardt, costdev, mukesh27. Fixes #58387. Built from https://develop.svn.wordpress.org/trunk@55863 git-svn-id: http://core.svn.wordpress.org/trunk@55375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
afd88c4ac7
commit
ac66d2f01e
|
@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55862';
|
||||
$wp_version = '6.3-alpha-55863';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue