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

WordPress Trac noreply at wordpress.org
Wed Jul 13 19:45:44 UTC 2022


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

 * status:  closed => reopened
 * resolution:  wontfix =>
 * milestone:   => Future Release


Comment:

 Replying to [comment:29 desrosj]:
 > It's also highly likely that this problem was fixed somewhere along the
 way.

 Based on #52769 (which I closed as a duplicate of this one), the issue is
 still relevant, so I would like to reopen :)

 I think detecting line endings of the file being edited and preserving
 that format, as suggested in comment:15, would be the way to go here.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/9716#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list