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-archives.php

    r48409 r48410  
    163163            </ul>
    164164
    165             <?php if ( 'html5' === $format ) : ?>
    166                 </nav>
    167             <?php endif; ?>
    168 
    169165            <?php
     166            if ( 'html5' === $format ) {
     167                echo '</nav>';
     168            }
    170169        }
    171170
Note: See TracChangeset for help on using the changeset viewer.