[wp-trac] [WordPress Trac] #14243: Content of css interfering with functions

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 26 08:52:27 UTC 2010

#14243: Content of css interfering with functions
 Reporter:  matveb        |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  lowest        |   Milestone:  Awaiting Review       
Component:  Themes        |     Version:                        
 Severity:  minor         |    Keywords:  has-patch dev-feedback

Comment(by nkuttler):

 I'm beginning to think that patching up this function is the wrong way.
 Putting configuration information into txt or css was a bad idea to begin

 PHP has parse_ini_file() built in. get_file_data() should really use that
 or something similar when some theme.cfg or plugin.cfg exists. This
 shouldn't be hard to implement while staying backward compatible.

 This would obviously mean that code not in the distribution would need to
 be modified, like in the theme and plugin repositories.

 Does this sound reasonable?

Ticket URL: <http://core.trac.wordpress.org/ticket/14243#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list