Bug #19436
closedDoc nav displays twice on a group doc page
0%
Description
Came across a bug while looking into #19415 where the doc nav was displaying directly below the main navigation, but before the main group interface. Here's an example doc on production with this problem: https://commons.gc.cuny.edu/groups/bikecuny/docs/bike-shops/ .
Bug is due to using bp_buffer_template_part()
without setting the $echo
parameter to false
in BuddyPress Docs: https://github.com/buddypress/buddypress/blob/39bba862906314d48eeea11ffc127fc8b8fff8c0/src/bp-core/bp-core-template-loader.php#L401
I've opened a PR for BP Docs here: https://github.com/boonebgorges/buddypress-docs/pull/740.
Boone, can you review when you have the chance?
Updated by Boone Gorges 11 months ago
As I commented on the GitHub issue, the Docs team is working on a more general fix that will include what you've suggested. But the more general fix doesn't really affect the Commons since we run a legacy theme, so I'm going to go ahead and put this in place as a hotfix on our site.
Updated by Boone Gorges 11 months ago
- Status changed from New to Resolved