Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#21073 closed enhancement (wontfix)

Main functions file (/wp-includes/functions.php) could use a coding standards cleanup

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

Description

This file is very inconsistent in its coding standards, and as a result is difficult to read.

I had to find a couple things in here recently; after some frustration in reading the different styles I decided to take a pass at refreshing it.

Attachments (1)

21073.diff (63.1 KB ) - added by evansolomon 14 years ago.

Download all attachments as: .zip

Change History (4)

@evansolomon
14 years ago

#1 @c3mdigital
13 years ago

  • Keywords has-patch removed
  • Resolutionmaybelater
  • Status newclosed

As much as I'm for coding standards I will refer to: http://make.wordpress.org/core/2011/03/23/code-refactoring/

Refactoring patches require unit tests, performance benchmarks, proper justification and clear rationale.

#2 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review
  • Resolution maybelaterwontfix

Formatting cleanup tickets are generally discouraged. Coding style fixes should be a result of more substantial changes.

#3 @SergeyBiryukov
13 years ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.