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

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 30 01:21:54 UTC 2012


#19854: themes.php doesn't show 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):

 No need to even replace \r\n; we just need to replace \r with \n. If an
 \r\n becomes \n\n, the function will still end up with the right data.

 Added test cases in [UT703].

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


More information about the wp-trac mailing list