#9352 closed defect (bug) (duplicate)
Can't view category archive for category with stub of "0"
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Template | Version: | 2.8 |
| Severity: | minor | Keywords: | needs-patch |
| Cc: |
Description
Make a category with the stub of "0" and assign a post to it. If you view the archive listing for that category, index.php is used rather than archive.php.
Change History (6)
comment:1
Viper007Bond — 4 years ago
- Priority changed from normal to lowest
- Severity changed from normal to minor
- Summary changed from archive.php template not used for category with "0" as stub to Can't view category archive for category with stub of "0"
comment:2
Viper007Bond — 4 years ago
This of course requires pretty permalinks to be enabled, otherwise the URL is /?cat=123.
comment:3
Viper007Bond — 4 years ago
The query variable category_name isn't being set, but I can't find where in WP_Query it's going wrong. I'll let someone else handle it.
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Actually, it's not using the wrong template, it's just not detecting that a category archive was requested (it's displaying the overall latest posts).