Changeset 53656
- Timestamp:
- 07/05/2022 02:12:06 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r53391 r53656 1444 1444 $class = 'class="current_page_item"'; 1445 1445 } 1446 $menu .= '<li ' . $class . '><a href="' . home_url( '/') . '">' . $args['link_before'] . $text . $args['link_after'] . '</a></li>';1446 $menu .= '<li ' . $class . '><a href="' . esc_url( home_url( '/' ) ) . '">' . $args['link_before'] . $text . $args['link_after'] . '</a></li>'; 1447 1447 // If the front page is a page, add it to the exclude list. 1448 1448 if ( 'page' === get_option( 'show_on_front' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.