NHSLeadership / nightingale-2-0

A WordPress theme for the NHS using the NHS.UK frontend library
Other
28 stars 15 forks source link

Bug in breadcrumbs.php #555

Closed ollybenson closed 1 year ago

ollybenson commented 1 year ago

Line 39 of inc/breadcrumbs.php currently is:

$chain .= '

  • <a itemprop="item" href="' . get_category_parents( $parent->parent, $link, $separator, $nicename ) . '
  • ' . $separator;

    It should is:

        $chain    .= '<li class="nhsuk-breadcrumb__item">' . get_category_parents( $parent->parent, $link, $separator, $nicename ) . '</li>' . $separator;
    maheshmuralip commented 1 year ago

    Thanks @ollybenson. We will look into it.

    maheshmuralip commented 1 year ago

    Nightingale 2.4.10 has a fix for this. Thanks.