Repository navigation
Conversation
Since the 2024 theme prints the bbPress breadcrumb on every page, HelpHub articles on the locale support sites got the forums trail: a "Forums" home crumb linking to /support/forums/, and no category. Category archives also showed the title of their first article as the current crumb. On HelpHub articles, version pages, and category archives, the home crumb now links to the Support home page and is labeled "Support". Articles get their category before the current crumb, and category archives use the category name. Forum pages are unchanged. Fixes #7703. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 seconds. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
|
@propsbot add MarieComet |
Fixes https://meta.trac.wordpress.org/ticket/7703
The 2024 Support theme prints the bbPress breadcrumb on every page, so HelpHub articles on the locale support sites get the forums trail. On https://fr.wordpress.org/support/article/site-editor-patterns/ the trail is “Forums / Écran Compositions de l’éditeur de site”: the home crumb links to
/support/forums/, and the article’s category is missing. Category archives like https://fr.wordpress.org/support/category/editeur-de-site/ also show the title of their first article as the current crumb, because bbPress falls back toget_the_title().On HelpHub articles, version pages, and category archives, the home crumb now links to the Support home page and is labeled “Support”, the label the old theme used. Articles get their first category before the current crumb, and category archives use the category name. Forum pages keep the “Forums” crumb from https://meta.trac.wordpress.org/changeset/14579.
Testing
/support/, the category links to its archive./support/forums/.Locally, the breadcrumb was rendered with bbPress in the support-forums wp-env against faked article, version, page, and category queries; the page case still links to
/forums/.🤖 Generated with Claude Code