Opened 5 weeks ago
Closed 5 weeks ago
#3700 closed defect (bug) (fixed)
Explicit topic tag is ignored in its edit link
| Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6.20 |
| Component: | Component - Topic Tags | Version: | 2.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Create a topic tag with slug alpha, then call bbp_get_topic_tag_edit_link( 'alpha' ) outside a topic-tag query. The function resolves the alpha term but builds the URL with bbp_get_topic_tag_link() without passing the slug. With query-style URLs it returns ?edit=1 instead of the alpha tag edit URL; pretty URLs have the same missing-tag problem.
Pass the resolved tag slug to the topic-tag link helper for both permalink styles. Add PHPUnit coverage for explicit tags, missing tags, and both URL modes.
The bug is present in the bbPress 2.0 tag and branches/2.6. Fix in trunk and backport to branches/2.6 for 2.6.20. The broader topic-tag test work is tracked in #3695.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 7809: