[wp-trac] [WordPress Trac] #34862: Document wp_delete_term() $args as a hash notation

WordPress Trac noreply at wordpress.org
Sat Dec 12 16:19:47 UTC 2015


#34862: Document wp_delete_term() $args as a hash notation
---------------------------------------------+-----------------------
 Reporter:  swissspidy                       |       Owner:  slushman
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  4.5
Component:  Taxonomy                         |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  good-first-bug has-patch commit  |     Focuses:  docs
---------------------------------------------+-----------------------
Changes (by DrewAPicture):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch commit


Comment:

 [attachment:34862.diff] looks great. The only thing missing a description
 of the default for the optional parameter. You can add it to the end of
 the description:

 {{{
 *    Optional. Array of arguments to override the default term ID. Default
 empty array.
 }}}

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


More information about the wp-trac mailing list