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

WordPress Trac noreply at wordpress.org
Thu Dec 24 00:48:20 UTC 2015


#34010: Add Ability to Fetch Post Types by Supports
-------------------------------------+-------------------------------------
 Reporter:  wpsmith                  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Posts, Post Types        |     Version:  4.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch dev-feedback   |     Focuses:  administration,
  needs-unit-tests                   |  template
-------------------------------------+-------------------------------------

Comment (by barryceelen):

 @swissspidy Why are you looping through `$post_types` in stead of using
 the `$_wp_post_type_features` global? I see all other `post_type_support`
 related functions using it?

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


More information about the wp-trac mailing list