Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#38605 closed enhancement (wontfix)

Remove useless trailing spaces

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

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 10 years ago.
Whole patch

Download all attachments as: .zip

Change History (3)

#1 @johnbillion
10 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed
  • Version trunk

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
10 years ago

Got it! Sorry for the noise.

Note: See TracTickets for help on using tickets.