Opened 7 years ago

Closed 7 years ago

#3060 closed enhancement (fixed)

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

Reported by: markjaquith Owned by: markjaquith
Priority: low Milestone: 2.1
Component: Optimization Version: 2.1
Severity: normal Keywords: cleanup
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 7 years ago.
Patch for /trunk/

Download all attachments as: .zip

Change History (2)

Patch for /trunk/

comment:1   ryan7 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.