wp/wp-includes/widgets/class-wp-widget-meta.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    62 
    62 
    63 		if ( 'html5' === $format ) {
    63 		if ( 'html5' === $format ) {
    64 			// The title may be filtered: Strip out HTML and make sure the aria-label is never empty.
    64 			// The title may be filtered: Strip out HTML and make sure the aria-label is never empty.
    65 			$title      = trim( strip_tags( $title ) );
    65 			$title      = trim( strip_tags( $title ) );
    66 			$aria_label = $title ? $title : $default_title;
    66 			$aria_label = $title ? $title : $default_title;
    67 			echo '<nav role="navigation" aria-label="' . esc_attr( $aria_label ) . '">';
    67 			echo '<nav aria-label="' . esc_attr( $aria_label ) . '">';
    68 		}
    68 		}
    69 		?>
    69 		?>
    70 
    70 
    71 		<ul>
    71 		<ul>
    72 			<?php wp_register(); ?>
    72 			<?php wp_register(); ?>