[wp-trac] [WordPress Trac] #15598: Use DIRECTORY_SEPARATOR for file paths instead of '/'

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 28 03:57:48 UTC 2010


#15598: Use DIRECTORY_SEPARATOR for file paths instead of '/'
--------------------------+-------------------------------------------------
 Reporter:  jazzmind      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  3.0.1          
 Severity:  major         |    Keywords:                 
--------------------------+-------------------------------------------------
 Unix directory path separators ('/') are hardcoded in throughout theme.php
 and perhaps other files. As a result, when running wordpress off a Windows
 system and using alternative theme directories (via
 register_theme_directory()) a "theme broken" error is thrown because the
 code can't find files within the theme path.

 If the same theme is moved into the normal themes directory, everything
 works fine. If the code is run on a unix system, everything also works
 fine.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15598>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list