WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#41748 closed defect (bug) (wontfix)

Remove the unwanted comment in wp-login.php

Reported by: umangvaghela123 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords:
Focuses: docs Cc:

Description

Remove the unwanted comment in wp-login.php

Attachments (1)

#41748.patch (319 bytes) - added by umangvaghela123 2 years ago.
fix #41748

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
2 years ago

  • Component changed from General to Login and Registration
  • Focuses docs added

#2 @umangvaghela123
2 years ago

@SergeyBiryukov

It is fine if we remove the unwanted error.

#3 @SergeyBiryukov
2 years ago

What error? The comment was added in [6643] and separates functions from the main logic in the file. It could probably be improved, but I don't see why it should be removed.

Last edited 2 years ago by SergeyBiryukov (previous) (diff)

#4 @umangvaghela123
2 years ago

@SergeyBiryukov

Hello sir,

I want to say remove :

// 
// Main 
// 

content.What is describe the Main comment?

#5 @subrataemfluence
2 years ago

I don't really see any necessity of removing this. Also to my understanding this should not be tagged as "defect". It does not block any functionality or doing anything wrong.

Also a comment section above function body is always important. This one could be enhanced with proper comments, so I would rather go for an "enhancement" tag for this.

#6 @johnbillion
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.