[wp-trac] [WordPress Trac] #19854: themes.php doesn't show child themes if using Mac-style CR EOL markers

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 21 15:35:21 UTC 2012


#19854: themes.php doesn't show child themes if using Mac-style CR EOL markers
--------------------------+--------------------
 Reporter:  novasource    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Themes        |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by nacin):

 This probably also works:
 {{{
 $file_data = str_replace( array( "\r\n", "\r" ), "\n", $file_data );
 }}}

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


More information about the wp-trac mailing list