[wp-trac] [WordPress Trac] #11348: Archive Page Should be 404.php When !have_posts()
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 7 08:05:34 UTC 2009
#11348: Archive Page Should be 404.php When !have_posts()
--------------------------+-------------------------------------------------
Reporter: miqrogroove | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.9
Component: Query | Version: 2.8.4
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Changes (by greenshady):
* status: new => closed
* resolution: => invalid
Comment:
It shouldn't be a 404. What's displayed on this page should be handled by
the theme's `category.php` file. Just because something doesn't have
posts, doesn't mean it's an invalid URL.
WordPress will also link to a category without posts using:
{{{wp_list_categories( array( 'hide_empty' => false ) );}}}
I'm going to mark this one as invalid unless others think this needs more
discussion.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11348#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list