Make WordPress Core


Ignore:
Timestamp:
07/08/2020 01:42:30 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Widgets: Adjust formatting for displaying the closing </nav> tag in widgets for consistency with the opening tag.

Follow-up to [48349].

See #48170.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-meta.php

    r48409 r48410  
    9999        </ul>
    100100
    101         <?php if ( 'html5' === $format ) : ?>
    102             </nav>
    103         <?php endif; ?>
     101        <?php
     102        if ( 'html5' === $format ) {
     103            echo '</nav>';
     104        }
    104105
    105         <?php
    106106        echo $args['after_widget'];
    107107    }
Note: See TracChangeset for help on using the changeset viewer.