mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 22:58:40 +02:00
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:
parent
6fc76c162d
commit
c4a2b9a9e4
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-beta1-48409';
|
||||
$wp_version = '5.5-beta1-48410';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -162,11 +162,10 @@ class WP_Widget_Archives extends WP_Widget {
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<?php if ( 'html5' === $format ) : ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if ( 'html5' === $format ) {
|
||||
echo '</nav>';
|
||||
}
|
||||
}
|
||||
|
||||
echo $args['after_widget'];
|
||||
|
@ -140,11 +140,10 @@ class WP_Widget_Categories extends WP_Widget {
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<?php if ( 'html5' === $format ) : ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if ( 'html5' === $format ) {
|
||||
echo '</nav>';
|
||||
}
|
||||
}
|
||||
|
||||
echo $args['after_widget'];
|
||||
|
@ -98,11 +98,11 @@ class WP_Widget_Meta extends WP_Widget {
|
||||
|
||||
</ul>
|
||||
|
||||
<?php if ( 'html5' === $format ) : ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if ( 'html5' === $format ) {
|
||||
echo '</nav>';
|
||||
}
|
||||
|
||||
echo $args['after_widget'];
|
||||
}
|
||||
|
||||
|
@ -108,11 +108,11 @@ class WP_Widget_Pages extends WP_Widget {
|
||||
<?php echo $out; ?>
|
||||
</ul>
|
||||
|
||||
<?php if ( 'html5' === $format ) : ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if ( 'html5' === $format ) {
|
||||
echo '</nav>';
|
||||
}
|
||||
|
||||
echo $args['after_widget'];
|
||||
}
|
||||
}
|
||||
|
@ -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'];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user