[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
Tue Dec 3 19:46:17 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 SergeyBiryukov):

 Replying to [comment:12 nacin]:
 > The 'author' query variable could be a comma-separated list.

 [attachment:20601.4.diff] adds `is_int()` check.

 > is_author can also be true for the author_name QV.

 `author` QV is automatically filled in that case: [source:tags/3.7.1/src
 /wp-includes/query.php#L2538].

--
Ticket URL: <http://core.trac.wordpress.org/ticket/20601#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list