[wp-trac] [WordPress Trac] #20601: Author archives queries should return a 404 when the user isn't a member of the blog
WordPress Trac
noreply at wordpress.org
Thu Dec 5 00:38:37 UTC 2013
#20601: Author archives queries should return a 404 when the user isn't a member of
the blog
--------------------------+------------------
Reporter: yoavf | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.8
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by jeremyfelt):
I haven't tried to break it too hard yet, but Sergey's
[attachment:20601.5.diff] is working for me.
Before:
1. `http://example.com/blog1/author/user2/` -> No posts from (non-member)
user2 found on blog1, 200 ok
2. `http://example.com/blog2/author/user2/` -> Posts from (member) user2
on blog2, 200 ok
3. `http://example.com/blog1/author/user3/` -> Posts from (no longer a
member) user3 on blog2, 200 ok.
After:
1. `http://example.com/blog1/author/user2/` -> 404 page as expected.
2. `http://example.com/blog2/author/user2/` -> Posts from (member) user2
on blog2, 200 ok
3. `http://example.com/blog1/author/user3/` -> Posts from (no longer a
member) user3 on blog2, 200 ok.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20601#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list