Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Suppression of the @language in Categories titles #383
When your WP in translated and you use categories, if you go through several category names that are the same in both languages (Europe is the same in French and English, same for France, etc) WP put a @language after the name.
On a category's archive page, you don't want this and WP removes it for you so you have Europe Archives | Your website. But when wordpress-seo is on, it somehow bypass this and you get Europe @en Archives | Your website.
Here is the patch I've put in my functions.php but I think you should put it in class-frontend.php, "title" method right before the return (somewhere near line 440).
add_filter('wp_title', 'remove_lang_filter', 20, 2);