[wp-trac] Re: [WordPress Trac] #8497: support single-lined Template Name comment blocks for Templates

WordPress Trac wp-trac at lists.automattic.com
Sun May 3 21:36:25 GMT 2009


#8497: support single-lined Template Name comment blocks for Templates
-------------------------+--------------------------------------------------
 Reporter:  DD32         |       Owner:  westi                              
     Type:  enhancement  |      Status:  assigned                           
 Priority:  normal       |   Milestone:  2.8                                
Component:  Themes       |     Version:  2.7                                
 Severity:  normal       |    Keywords:  has-patch needs-testing needs-patch
-------------------------+--------------------------------------------------
Changes (by westi):

  * keywords:  has-patch needs-testing => has-patch needs-testing needs-
               patch


Comment:

 Denis, I take the new patch is intending to apply this rule to all the
 other headers?

 If so, we should create a cleanup function containing the regex call and
 just call that.

 Named something like _cleanup_header_comment() but preferably snapier!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8497#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list