wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Breadcrumbs broken when taxonomy term is included along with search phrase

Open mattfaircliff opened this issue 11 years ago • 1 comments

It seems as though the Yoast Wordpress SEO breadcrumbs do not work correctly when a taxonomy term is included in a Wordpress search.

I kludged a fix for the problem by moving the elseif statement for the is_search function above the elseif for the is_tax || is_tag || is_category (line 332 in frontend/class-breadcrumbs.php).

You can test this yourself by including a taxonomy term in a wordpress search (?s=plumber&town=vegas) and inspecting the breadcrumb.

Please advise if this is an actual bug or if it is by design.

mattfaircliff avatar May 22 '15 17:05 mattfaircliff

We are no longer able to reproduce this problem. Therefore, I'm closing this. If the issue still persists, please follow these guidelines to open up a new bug report.

benvaassen avatar Aug 03 '18 06:08 benvaassen