[wp-trac] [WordPress Trac] #29721: Improve inline docs for get_post_types()

WordPress Trac noreply at wordpress.org
Sun Sep 21 08:54:39 UTC 2014


#29721: Improve inline docs for get_post_types()
-------------------------------+---------------------------
 Reporter:  DrewAPicture       |       Owner:  DrewAPicture
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.1
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+---------------------------
Changes (by DrewAPicture):

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


Comment:

 In [changeset:"29752"]:
 {{{
 #!CommitTicketReference repository="" revision="29752"
 Add some missing information to the inline docs for `get_post_types()`.

 * Improves the `@see` reference for `register_post_type()` to mention that
 it contains information about accepted arguments
 * Adds a description of the accepted values for the `$operator` parameter
 * Fixes a typo

 Fixes #29721.
 }}}

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


More information about the wp-trac mailing list