[wp-trac] [WordPress Trac] #9716: WordPress Theme/Plugin editor adds blank lines

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 20 03:10:54 UTC 2012


#9716: WordPress Theme/Plugin editor adds blank lines
-------------------------------------+-----------------------------
 Reporter:  Vistronic                |       Owner:  anonymous
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Editor                   |     Version:  2.7.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------

Comment (by nacin):

 Standardizing on \r\n is really lame for anyone not on Windows. We should
 try *very* hard to avoid modifying line endings. People might use the
 theme editor for a quick change and this could have some bad effects to
 workflows.

 If the file has a mix of line endings, then sure, we just choose a
 default. But we can be smart about it.

 HallMarc, please upload here a file you are struggling with. I can't
 reproduce.

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


More information about the wp-trac mailing list