#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: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for /trunk/