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

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 26 10:05:19 UTC 2010


#14243: Content of css interfering with functions
--------------------------+-------------------------------------------------
 Reporter:  matveb        |       Owner:  westi         
     Type:  defect (bug)  |      Status:  accepted      
 Priority:  lowest        |   Milestone:  Future Release
Component:  Themes        |     Version:                
 Severity:  minor         |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------
Changes (by westi):

  * keywords:  has-patch dev-feedback => needs-patch
  * owner:  => westi
  * status:  new => accepted
  * milestone:  Awaiting Review => Future Release


Comment:

 Replying to [comment:15 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
 with.
 >
 > 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?

 Not really.

 That would mean we would have to change every plugin/theme to support the
 new format.

 What we have works in 95% of cases and we should be able to easily fix the
 other 5%.  We just haven't done it yet.

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


More information about the wp-trac mailing list