Ticket #3060 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: markjaquith Assigned to: 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

bookmark-template_CLEANUP.diff (9.9 kB) - added by markjaquith on 08/22/06 07:00:47.
Patch for /trunk/

Change History

08/22/06 07:00:47 changed by markjaquith

  • attachment bookmark-template_CLEANUP.diff added.

Patch for /trunk/

08/22/06 09:24:33 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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