[wp-trac] [WordPress Trac] #56843: Comments in wp-login.php start with an "*" too few.

WordPress Trac noreply at wordpress.org
Tue Nov 15 23:28:07 UTC 2022


#56843: Comments in wp-login.php start with an "*" too few.
------------------------------------+------------------------------
 Reporter:  NekoJonez               |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch 2nd-opinion   |     Focuses:  docs
------------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 I do not think a change is necessary.

 However, the "Main part" comment is technically only one line with the
 multi-line formatting (probably purposely calling attention to how the
 section is different from the functions preceding it). Maybe the comment
 would be worth splitting into two lines:
 {{{
  /*
   * Main part:
   * Check the request and redirect or display a form based on the current
 action.
   */
 }}}

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


More information about the wp-trac mailing list