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

WordPress Trac noreply at wordpress.org
Thu Dec 24 10:55:22 UTC 2015


#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-      |     Focuses:  administration,
  tests                              |  template
-------------------------------------+-------------------------------------
Changes (by swissspidy):

 * keywords:  has-patch dev-feedback needs-unit-tests => has-patch has-unit-
     tests
 * milestone:  Awaiting Review => 4.5


Comment:

 @barryceelen I don't know anymore, probably just to not rely on the global
 :)

 > I don't think it's necessary to query by multiple features though.

 Since it's so simple and there are situations where this can indeed be
 necessary, I changed my mind here. I just uploaded
 [attachment:34010.2.diff] now which includes unit tests.

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


More information about the wp-trac mailing list