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

WordPress Trac noreply at wordpress.org
Fri Jan 8 23:19:18 UTC 2016


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

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     refresh
 * focuses:  administration, template =>


Comment:

 Adding this to `get_post_types()` seems to make more sense, but it would
 also make the function more complicated.

 Let's stick with [attachment:34010.2.diff] with the `operator` argument
 suggested in [attachment:34010.with-operator.diff].

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


More information about the wp-trac mailing list