[wp-trac] [WordPress Trac] #25150: Sync inline docs between register_post_type() and register_taxonomy()

WordPress Trac noreply at wordpress.org
Mon Aug 26 20:23:35 UTC 2013


#25150: Sync inline docs between register_post_type() and register_taxonomy()
-------------------------+----------------------
 Reporter:  ocean90      |       Owner:  ocean90
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.7
Component:  Inline Docs  |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"25130"]:
 {{{
 #!CommitTicketReference repository="" revision="25130"
 Improve inline docs for register_post_type() and register_taxonomy().

 * register_taxonomy: Use the same doc format for the associative array arg
 as used for register_post_type()
 * register_taxonomy: Improve docs for _builtin, capabilities, hierarchical
 and rewrite args
 * register_taxonomy: Use the same order in $defaults as in docblock
 * register_taxonomy: Replace is_null with null ===, to be consistent
 * register_post_type: Use the same order in $defaults as in docblock
 * register_post_type: Improve docs for @uses and default fallbacks
 And while we're on it: Whitespaces.

 fixes #25150.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25150#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list