#61070 closed defect (bug) (wontfix)
Unneeded blank line in wp-load.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | trivial | Version: | |
| Component: | General | Keywords: | has-patch |
| Focuses: | coding-standards | Cc: |
Description
Usually, right after a comment comes code but on one line in wp-load.php... That's not the case. Let's fix that.
Change History (3)
This ticket was mentioned in PR #6442 on WordPress/wordpress-develop by @NekoJonez.
2 years ago
#1
- Keywords has-patch added
#2
@
2 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
The comment is for the entire else block and not just the next line, so it doesn't make sense to remove this blank line. There's also no coding standards rule or anything disallowing such a blank line after a comment, so it's not something we need to change.
@NekoJonez commented on PR #6442:
2 years ago
#3
Got a wontfix, so closing this pr
Note: See
TracTickets for help on using
tickets.
Like in the Trac ticket, usually there is code right after a comment but not here. So, let's remove that blank line that's doing nothing. So, we adhere to coding standards.
Trac ticket: https://core.trac.wordpress.org/ticket/61070#ticket