Widgets: Adjust formatting for displaying the closing </nav> tag in widgets for consistency with the opening tag.
Follow-up to [48349]. See #48170. Built from https://develop.svn.wordpress.org/trunk@48410 git-svn-id: http://core.svn.wordpress.org/trunk@48179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -126,11 +126,11 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
<?php if ( 'html5' === $format ) : ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if ( 'html5' === $format ) {
|
||||
echo '</nav>';
|
||||
}
|
||||
|
||||
echo $args['after_widget'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user