[wp-trac] [WordPress Trac] #13699: File Header (Plugin Header, Theme Header) Improvement

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 23 17:52:09 UTC 2010


#13699: File Header (Plugin Header, Theme Header) Improvement
-----------------------------+----------------------------------------------
 Reporter:  hakre            |       Owner:                        
     Type:  feature request  |      Status:  new                   
 Priority:  normal           |   Milestone:  Awaiting Review       
Component:  General          |     Version:  3.0                   
 Severity:  normal           |    Keywords:  has-patch dev-feedback
-----------------------------+----------------------------------------------

Comment(by hakre):

 Replying to [comment:10 scribu]:
 > To summarize, you want to get all the headers from a file, even if they
 weren't registered beforehand.

 Exactly. The API function provides them then.

 >
 > Considering how lax the current parsing is, I don't think this is
 possible, without breaking several themes & plugins.
 >
 > See #15193

 Well if it's possible for that regex introduced in #15193, why shouldn't
 it be possible here? So technically, this would break several themes &
 plugins as much as it would be breaking in [16215]. If not some of the
 cases have been already addressed in this code. But I'll update the patch,
 I didn't run ''that'' many tests as you did. Will take some time as it is
 stale.

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


More information about the wp-trac mailing list