Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#38605 closed enhancement (wontfix)

Remove useless trailing spaces

Reported by: hywan's profile hywan Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: General Keywords: has-patch
Focuses: Cc:

Description

There are some useless trailing spaces landing in the code. With a basic sed, we can remove all of them. The exact command line is the following:

$ sed -i '' -E 's/ +$//g' **/*.php

Attachments (1)

0001-Quality-Remove-useless-trailing-spaces.patch (68.3 KB) - added by hywan 9 years ago.
Whole patch

Download all attachments as: .zip

Change History (3)

#1 @johnbillion
9 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
  • Version trunk deleted

Thank you for your contribution, @hywan, but the WordPress project does not refactor code for the sake of it, for the reasons listed here: https://make.wordpress.org/core/handbook/contribute/code-refactoring/

#2 @hywan
9 years ago

Got it! Sorry for the noise.

Note: See TracTickets for help on using tickets.