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

WordPress Trac noreply at wordpress.org
Mon Feb 10 12:24:36 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
--------------------------+---------------------------

Comment (by DrewAPicture):

 Replying to [comment:3 SergeyBiryukov]:
 > `$end-callback` looks weird as a PHP variable due to the hyphen.
 > <snip>
 > Do we need for all string parameters to look like PHP variables?

 All arguments in a hash notation need to be expressed as variables per the
 standard.

 However, I don't think we necessarily need to keep the hyphen for the
 purposes of the docs -- I don't have a problem with changing it to an
 underscore there.

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


More information about the wp-trac mailing list