Breadcrumb Bug
-
My client is using the Blogim theme and noticed that if you use the search, the Home link in the breadcrumb on the resulting page doesn’t work. The format is like this:
https://blog.test.com/esc_url(https://blog.test.com/)
Looks like it’s in /functions/breadcrumbs.php line 34:
$link = $linkBefore . '<a' . $linkAttr . ' href="esc_url(%1$s)">%2$s</a>' . $linkAfter;
That “esc_url” is being output as text. The fix would be:
$link = $linkBefore . '<a' . $linkAttr . ' href="' . esc_url('%1$s') . '">%2$s</a>' . $linkAfter;
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Breadcrumb Bug’ is closed to new replies.