Opened 18 years ago
Closed 18 years ago
#7865 closed defect (bug) (fixed)
Tag templates no longer work with tag-{$tag_name}
| Reported by: | cogmios | Owned by: | westi |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Template | Version: | 2.7 |
| Severity: | normal | Keywords: | tag template regression |
| Cc: | Focuses: |
Description (last modified by )
Tag template pages e.g. "tag-wordpress.php" to not be called or found. See http://edward.de.leau.net/tag-pages-and-wordpress-27-20081011.html.
I dont know the status of the function so I consider this a unit test report, but a pretty large bug.
Change History (4)
#1
@
18 years ago
- Keywords needs-patch added
- Owner changed from to
- Priority high → normal
- Severity major → normal
- Status new → assigned
#2
@
18 years ago
- Description modified (diff)
- Summary new locate_template function causes TAG pages to NOT appear → Tag templates no longer work with tag-{$tag_name}
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Nothing is wrong with locate_template.
The fact is that the code in 2.6.x allows for textual tag templates 2.7 for some reason expects them to be numeric tag ids.
The change is in get_tag_template() which now wraps an absint around the result of get_query_var