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

WordPress Trac noreply at wordpress.org
Sun Feb 11 06:08:12 UTC 2024


#3060: Massive Code Cleanup: wp-includes/bookmark-template.php
--------------------------+--------------------------
 Reporter:  markjaquith   |       Owner:  markjaquith
     Type:  enhancement   |      Status:  closed
 Priority:  low           |   Milestone:  2.1
Component:  Optimization  |     Version:  2.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  cleanup       |     Focuses:
--------------------------+--------------------------

Comment (by nancyxky98zd):

 Are you currently working on a massive code cleanup project for WordPress,
 specifically focusing on `bookmark-template.php`? This cleanup involves
 tasks such as converting spaces to tabs, tabs to spaces where appropriate,
 eliminating trailing tabs and spaces, removing unnecessary braces and
 parenthesis, ensuring proper indentation, optimizing code logic (e.g.,
 using `strpos()` instead of `strstr()` for speed benefits), and refining
 return/echo blocks to be leaner. Would you like assistance or guidance
 with any aspect of this cleanup effort?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/3060#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list