[buddypress-trac] [BuddyPress Trac] #2344: PHP comments inside functions

buddypress-trac noreply at wordpress.org
Wed Jul 27 22:33:44 UTC 2016


#2344: PHP comments inside functions
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |       Owner:  tw2113
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  Future Release
Component:  Core             |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-----------------------------

Comment (by DJPaul):

 I think you can close. Not sure if WP bothered documenting this aspect in
 their coding styles, but in the modern BuddyPress code, I'm pretty sure
 we've all come to standardise on `//` for comments over one (or two)
 lines, and `/*` for multi-lines.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/2344#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list