[wp-trac] [WordPress Trac] #36573: Add `$comment` parameter to `get_comment_author_url_link()`

WordPress Trac noreply at wordpress.org
Mon Apr 18 09:32:35 UTC 2016


#36573: Add `$comment` parameter to `get_comment_author_url_link()`
----------------------------------------+------------------------------
 Reporter:  flixos90                    |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Comments                    |     Version:  1.5
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch needs-unit-tests


Comment:

 Minor docs nitpicking: We usually use `The xy parameter was added.`
 instead of `The xy argument was added.`.

 A parameter is the variable which is part of the method’s signature,
 whereas an argument is an expression used when calling the method.

 Unfortunately it's not used consistently in core (69x parameter, 16x
 argument).

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


More information about the wp-trac mailing list