[wp-trac] [WordPress Trac] #18791: Add custom post type support for Author Template functions

WordPress Trac noreply at wordpress.org
Thu Jun 5 18:22:26 UTC 2014


#18791: Add custom post type support for Author Template functions
-------------------------+-----------------------
 Reporter:  sirzooro     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.0
Component:  Users        |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  template
-------------------------+-----------------------

Comment (by nacin):

 I think is_multi_author() should be left alone entirely.

 Not sure I see why get_posts_by_author_sql() needs to change at all,
 either. The sanitization/preparation in get_posts_by_author_sql() looks
 wrong. A unit test would catch this. (Needs unit tests.) The other
 instance of $post_type_where has similar issues.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18791#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list