[wp-trac] [WordPress Trac] #3060: Massive Code Cleanup: wp-includes/bookmark-template.php

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 22 07:00:16 GMT 2006


#3060: Massive Code Cleanup: wp-includes/bookmark-template.php
--------------------------+-------------------------------------------------
 Reporter:  markjaquith   |       Owner:  markjaquith
     Type:  enhancement   |      Status:  new        
 Priority:  low           |   Milestone:  2.1        
Component:  Optimization  |     Version:  2.1        
 Severity:  normal        |    Keywords:  cleanup    
--------------------------+-------------------------------------------------
 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

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3060>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list