[wp-trac] [WordPress Trac] #21596: enhance wp_get_archives to support post types

WordPress Trac noreply at wordpress.org
Tue Sep 29 05:10:12 UTC 2015


#21596: enhance wp_get_archives to support post types
-------------------------------+-----------------------------
 Reporter:  jjminkle           |       Owner:  wonderboymusic
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34686"]:
 {{{
 #!CommitTicketReference repository="" revision="34686"
 Allow `wp_get_archives()` to accept `post_type` as an arg.

 Adds unit test.

 Fixes #21596.
 }}}

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


More information about the wp-trac mailing list