equal
deleted
inserted
replaced
101 |
101 |
102 if ( 'html5' === $format ) { |
102 if ( 'html5' === $format ) { |
103 // The title may be filtered: Strip out HTML and make sure the aria-label is never empty. |
103 // The title may be filtered: Strip out HTML and make sure the aria-label is never empty. |
104 $title = trim( strip_tags( $title ) ); |
104 $title = trim( strip_tags( $title ) ); |
105 $aria_label = $title ? $title : $default_title; |
105 $aria_label = $title ? $title : $default_title; |
106 echo '<nav role="navigation" aria-label="' . esc_attr( $aria_label ) . '">'; |
106 echo '<nav aria-label="' . esc_attr( $aria_label ) . '">'; |
107 } |
107 } |
108 ?> |
108 ?> |
109 |
109 |
110 <ul> |
110 <ul> |
111 <?php foreach ( $r->posts as $recent_post ) : ?> |
111 <?php foreach ( $r->posts as $recent_post ) : ?> |