[wp-trac] [WordPress Trac] #20248: Themes and plugins are not recognized when edited and the line breaks are saved as "\r".

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 16 01:07:53 UTC 2012


#20248: Themes and plugins are not recognized when edited and the line breaks are
saved as "\r".
--------------------------+----------------------------
 Reporter:  azaozz        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Editor        |    Version:
 Severity:  normal        |   Keywords:
--------------------------+----------------------------
 This can happen if the user has old Mac that runs MacOS < 10. Seems some
 of the browsers of that time use the native `\r` line end format.

 Solution seems to be to normalize line breaks when saving edited theme and
 plugin files, all current browsers seem to work well with `\n`.

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


More information about the wp-trac mailing list