[wp-trac] [WordPress Trac] #13040: author.php doesn't recognize custom_post_type posts written by user

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 18 22:19:24 UTC 2010


#13040: author.php doesn't recognize custom_post_type posts written by user
--------------------------+-------------------------------------------------
 Reporter:  10sexyapples  |       Owner:                               
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  Unassigned                   
Component:  General       |     Version:                               
 Severity:  normal        |    Keywords:  author.php, custom post_types
--------------------------+-------------------------------------------------

Comment(by greenshady):

 There are two reason I'm against having the author template load other
 post types.

  * We've never loaded anything but the `post` post type before.
  * Custom post types are "custom."  We should not make assumptions about
 how a site owner wants them displayed.

 I do like the idea of showing specific post types on *my* author archive
 but that's because those posts fit in well there, and this is easy to do.
 It might not be ideal for others.

 Also, unless something has changed, you should not get a 404.  You should
 be getting a no posts found message.

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


More information about the wp-trac mailing list