[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:22:06 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        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+------------------------------

Comment (by audrasjb):

 Wondering if we should also edit `exclude` documentation to be consistent
 with
 [https://developer.wordpress.org/reference/classes/wp_term_query/__construct/#parameters
 the existing documentation bits].

 {{{
 'exclude'
 (array|string) Array or comma/space-separated string of term ids to
 exclude. If $include is non-empty, $exclude is ignored. Default empty
 array.
 }}}

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


More information about the wp-trac mailing list