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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 19 14:51:29 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 HallMarc):

 @nacin I hear you and I have to say that even when I explicitly set the
 fopen to preserve the EOL in the original file it still ends up with extra
 EOL's in the document. This occurs with each and every update too; at
 least in my experience so far. This is why I am backing the patch that
 "normalizes" the string before writing it to the file. I know this is
 isn't the most elegant solution, yet....

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


More information about the wp-trac mailing list