[wp-trac] [WordPress Trac] #35225: Incorrect documentation for get_post_types()

WordPress Trac noreply at wordpress.org
Sat Dec 26 00:37:16 UTC 2015


#35225: Incorrect documentation for get_post_types()
-------------------------------+------------------------------
 Reporter:  barryceelen        |       Owner:  SergeyBiryukov
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  fixed
 Keywords:                     |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36091"]:
 {{{
 #!CommitTicketReference repository="" revision="36091"
 Docs: Clarify that `get_post_types()` accepts `'not'` as its `$operator`
 parameter.

 Props barryceelen.
 Fixes #35225.
 }}}

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


More information about the wp-trac mailing list