[wp-trac] [WordPress Trac] #47896: Docs: add missing argument in the wp_list_categories function docblock

WordPress Trac noreply at wordpress.org
Mon Aug 26 15:23:58 UTC 2019


#47896: Docs: add missing argument in the wp_list_categories function docblock
--------------------------+---------------------------
 Reporter:  audrasjb      |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.3
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:  (none) => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45894" 45894]:
 {{{
 #!CommitTicketReference repository="" revision="45894"
 Taxonomy: Standardize docs for `wp_list_categories()`.

 Many of the parameters historically documented on this function are merely
 passed through to `get_categories()` and its underlying functions. In
 order to
 avoid unnecessary duplication of function arguments, we remove
 documentation of
 these parameters, and replace it with reference to the wrapped functions.

 Parameters that receive special treatment or are otherwise changed before
 being passed through continue to be documented as part of
 `wp_list_categories()`.

 Props audrasjb, itowhid06, birgire.
 Fixes #47896.
 }}}

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


More information about the wp-trac mailing list