[wp-trac] [WordPress Trac] #11348: Archive Page Should be 404.php When !have_posts()
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 11 07:27:01 UTC 2010
#11348: Archive Page Should be 404.php When !have_posts()
--------------------------+-------------------------------------------------
Reporter: miqrogroove | Owner: ryan
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.9
Component: Query | Version: 2.8.4
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
> How do you figure?
When there are posts, it shows the posts. Where there are no posts, it
says there are no posts found. That's all it does by default. That's all
it does. Why are you quoting all this code?
> would you consider an author's page non-existent just because she hadn't
yet written any posts?
Absolutely, yes. This is the entire content shown on a default author
page:
"Sorry, but there aren't any posts by user1 yet."
I'd be grateful for the ability to 404 that page as well.
> they're obviously not the same
I never said they were the same.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11348#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list