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

    r48388 r48410  
    141141            </ul>
    142142
    143             <?php if ( 'html5' === $format ) : ?>
    144                 </nav>
    145             <?php endif; ?>
    146 
    147143            <?php
     144            if ( 'html5' === $format ) {
     145                echo '</nav>';
     146            }
    148147        }
    149148
Note: See TracChangeset for help on using the changeset viewer.