Skip to content

Commit

Permalink
Home Link: Properly close tags (#43706)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Aug 30, 2022
1 parent 1d778aa commit c724c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/home-link/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function render_block_core_home_link( $attributes, $content, $block ) {
$aria_current = is_home() || ( is_front_page() && 'page' === get_option( 'show_on_front' ) ) ? ' aria-current="page"' : '';

return sprintf(
'<li %1$s><a class="wp-block-home-link__content wp-block-navigation-item__content" href="%2$s" "rel="home"%3$s>%4$s</a><li>',
'<li %1$s><a class="wp-block-home-link__content wp-block-navigation-item__content" href="%2$s" "rel="home"%3$s>%4$s</a></li>',
block_core_home_link_build_li_wrapper_attributes( $block->context ),
esc_url( home_url() ),
$aria_current,
Expand Down

0 comments on commit c724c39

Please sign in to comment.