[wp-trac] [WordPress Trac] #32243: count_user_posts Should Accept Multiple Post Types

WordPress Trac noreply at wordpress.org
Thu May 21 19:48:22 UTC 2015


#32243: count_user_posts Should Accept Multiple Post Types
------------------------------------------------+--------------------------
 Reporter:  nikonratm                           |       Owner:
     Type:  enhancement                         |  boonebgorges
 Priority:  normal                              |      Status:  closed
Component:  Users                               |   Milestone:  4.3
 Severity:  normal                              |     Version:  trunk
 Keywords:  has-patch needs-testing needs-docs  |  Resolution:  fixed
                                                |     Focuses:  template
------------------------------------------------+--------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32524"]:
 {{{
 #!CommitTicketReference repository="" revision="32524"
 Streamline support for multiple post types in `get_posts_by_author_sql()`.

 * Don't accept a comma-separated list, only a single post type or an array
 of post types. This is easier to document.
 * Add changelog entries to all calling functions.

 Props DrewAPicture.
 Fixes #32243.
 }}}

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


More information about the wp-trac mailing list