[wp-trac] [WordPress Trac] #33912: Document the various optional parameter permutations of add_query_arg()

WordPress Trac noreply at wordpress.org
Thu Sep 24 18:57:51 UTC 2015


#33912: Document the various optional parameter permutations of add_query_arg()
--------------------------+-----------------------------
 Reporter:  DrewAPicture  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:  needs-patch => has-patch


Comment:

 I briefly discussed variadic function documentation with @DrewAPicture,
 but it turns out that it's not at all helpful when describing a function
 such as this, which isn't so much variadic as it's just got multiple call
 signatures.

 [attachment:33912.patch] is an attempt at improving the parameter names
 and descriptions, and adding example uses. Feedback appreciated.

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


More information about the wp-trac mailing list