[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
Sat Nov 17 13:00:47 UTC 2012
#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: normal | Milestone: Future Release
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Comment (by nacin):
Replying to [comment:6 obenland]:
> Nacin, would this be something to consider for 3.5? It seems rather
straight forward.
I thought this was trunk for a long while. Guess not.
It seems straightforward, but it can fail if is_author() is true, but the
queried object is something other than an author, which could occur for
more complex queries. like tax + author, etc. We'd be querying
is_user_member_of_blog() for the wrong ID. So I'm going to hold off on
this for now.
I'd be surprised if a developer on WordPress.com hasn't run into this
issue, if this is already deployed there in some form. Or, maybe they have
a more resilient fix. (Not sure either way.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20601#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list