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

WordPress Trac noreply at wordpress.org
Sun Aug 18 19:12:04 UTC 2019


#47896: Docs: add missing argument in the wp_list_categories function docblock
--------------------------+-----------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 The 'include' input argument is missing in the wp_list_categories()
 function's DocBlock.

 Indeed, it is possible to use the `include` argument to only include
 categories from the defined array/string.
 This parameter is fully documented in WP_Term_Query:
 https://developer.wordpress.org/reference/classes/wp_term_query/__construct/

 Previously mentioned (but not fixed) in #36693.

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


More information about the wp-trac mailing list