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

WordPress Trac noreply at wordpress.org
Sat Jan 9 21:40:37 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:
----------------------------------------------------+------------------

Comment (by barryceelen):

 Thanks for getting back to this. Adapting the `get_post_types()` function
 indeed got unwieldy when trying to combine/diff the two different
 `$_wp_post_type_features` and `$wp_post_types` arrays. Also, the
 `$_wp_post_type_features` array contains 'meta' post types like
 attachment.video and attachment.audio, unsure how those would be handled.

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


More information about the wp-trac mailing list