#21069 closed defect (bug) (invalid)
In situation when no posts in category Wp calls 404 template instead of category.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When no posts in category I expect to see a part of template category.php calling between words:
<?php else: ?> ... <?php endif; ?>
But instead of this I see template 404.php
Change History (4)
comment:1
SergeyBiryukov — 11 months ago
- Resolution set to invalid
- Status changed from new to closed
Oops. Sorry, this bug appears only with plugin "No Category Parents", I guess it's plugin bug.
comment:3
SergeyBiryukov — 11 months ago
- Milestone Awaiting Review deleted
Note: See
TracTickets for help on using
tickets.

Could not reproduce.
Just tested with Twenty Eleven. Visited an empty category archive, got the text from category.php:
http://core.trac.wordpress.org/browser/tags/3.4/wp-content/themes/twentyeleven/category.php#L46