#3060 closed enhancement (fixed)
Massive Code Cleanup: wp-includes/bookmark-template.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Patch for /trunk/