Make WordPress Core

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#61070 closed defect (bug) (wontfix)

Unneeded blank line in wp-load.php

Reported by: nekojonez's profile NekoJonez 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.


6 months ago
#1

  • Keywords has-patch added

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

#2 @swissspidy
6 months 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:


6 months ago
#3

Got a wontfix, so closing this pr

Note: See TracTickets for help on using tickets.