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

WordPress Trac noreply at wordpress.org
Thu Sep 24 19:31:42 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
--------------------------+-----------------------------

Comment (by DrewAPicture):

 In [changeset:"34511"]:
 {{{
 #!CommitTicketReference repository="" revision="34511"
 Docs: Overhaul the DocBlock for `add_query_arg()` to attempt to better
 explain the various call signatures it accepts.

 Also adds a couple of in-DocBlock examples illustrating single key and
 value, and associative array usage. Retains the note about the unescaped
 return value.

 Props johnbillion.
 See #33912.
 }}}

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


More information about the wp-trac mailing list