[wp-trac] [WordPress Trac] #27083: PHPDoc updates for wp-includes/comment-template.php

WordPress Trac noreply at wordpress.org
Mon Feb 10 12:07:54 UTC 2014


#27083: PHPDoc updates for wp-includes/comment-template.php
--------------------------+---------------------------
 Reporter:  DrewAPicture  |       Owner:  DrewAPicture
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.9
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 `$end-callback` looks weird as a PHP variable due to the hyphen. My
 initial thought was to change it to `$end_callback`, however `'end-
 callback'` is the actual value used in `Walker_Comment::end_el()`:
 [source:tags/3.8.1/src/wp-includes/comment-template.php#L1660]

 Do we need for all string parameters to look like PHP variables?

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


More information about the wp-trac mailing list