[wp-trac] [WordPress Trac] #41058: wp_dropdown_categories documentation is missing arguments

WordPress Trac noreply at wordpress.org
Sun Aug 20 03:27:49 UTC 2017


#41058: wp_dropdown_categories documentation is missing arguments
-------------------------+---------------------------
 Reporter:  ArnaudBan    |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.9
Component:  Taxonomy     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  docs
-------------------------+---------------------------

Comment (by DrewAPicture):

 I agree with @boonebgorges's primary point that we generally avoid
 documenting duplicated args on wrappers, however I also agree with
 @SergeyBiryukov on documenting everything in `$defaults` – but only if
 they actually differ from the defaults for the function this one is
 wrapping.

 So +1 to move forward with that caveat.

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


More information about the wp-trac mailing list