[wp-trac] [WordPress Trac] #54746: Comment Error in wp-login.php

WordPress Trac noreply at wordpress.org
Thu Mar 17 13:13:22 UTC 2022


#54746: Comment Error in wp-login.php
------------------------------------+-------------------------------------
 Reporter:  alkesh7                 |       Owner:  peterwilsoncc
     Type:  enhancement             |      Status:  reopened
 Priority:  normal                  |   Milestone:  6.0
Component:  Login and Registration  |     Version:
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch               |     Focuses:  docs, coding-standards
------------------------------------+-------------------------------------
Changes (by SergeyBiryukov):

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


Comment:

 I think comments like "Main" have some benefit, as they denote various
 parts of the file, in this case separating function declarations from the
 main part.

 Instead of removing them, I think we can convert them to the multi-line
 format per the documentation standards:
 {{{
 /*
  * Main.
  */
 }}}

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


More information about the wp-trac mailing list