[wp-trac] [WordPress Trac] #34010: Add Ability to Fetch Post Types by Supports

WordPress Trac noreply at wordpress.org
Tue Feb 23 22:49:20 UTC 2016


#34010: Add Ability to Fetch Post Types by Supports
---------------------------------------------+-------------------------
 Reporter:  wpsmith                          |       Owner:  swissspidy
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.5
Component:  Posts, Post Types                |     Version:  4.4
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"36652"]:
 {{{
 #!CommitTicketReference repository="" revision="36652"
 Posts: Introduce `get_post_types_by_support()`.

 Similar to `get_post_types()`, this new function returns a list of post
 type names that support a specific feature.

 Props wpsmith, barryceelen, swissspidy.
 Fixes #34010.
 }}}

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


More information about the wp-trac mailing list