Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#21069 closed defect (bug) (invalid)

In situation when no posts in category Wp calls 404 template instead of category.php

Reported by: lyncis 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)

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

  • 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.

  • Milestone Awaiting Review deleted

Could be related to #21020.

Note: See TracTickets for help on using tickets.