Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 22 months ago

#3060 closed enhancement (fixed)

Massive Code Cleanup: wp-includes/bookmark-template.php

Reported by: markjaquith's profile markjaquith Owned by: markjaquith's profile markjaquith
Milestone: 2.1 Priority: low
Severity: normal Version: 2.1
Component: Optimization Keywords: cleanup
Focuses: Cc:

Description

Massive Code Cleanup returns, with a focus on bookmark-template.php

  • Spaces to tabs, tabs to spaces, where appropriate
  • Kill trailing tabs and spaces
  • Unnecessary braces and parenthesis eliminated
  • Proper indentation
  • if ( 'something' == $var )
  • foreach ( (array) $foo as $bar )
  • strstr() to strpos() (speed benefit)
  • Leaner return/echo blocks

Attachments (1)

bookmark-template_CLEANUP.diff (9.9 KB) - added by markjaquith 19 years ago.
Patch for /trunk/

Download all attachments as: .zip

Change History (2)

@markjaquith
19 years ago

Patch for /trunk/

#1 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4108]) Code purtification from Mark J. fixes #3060

Note: See TracTickets for help on using tickets.