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

WordPress Trac noreply at wordpress.org
Sun Jun 1 23:22:10 UTC 2025


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

 * keywords:  has-patch needs-testing => has-patch
 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validates that the issue can be reproduced anymore

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 137.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Ten 4.4 & Twenty Seventeen 3.9
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Reproduction Steps
 1. Go into Theme Editor `wp-admin/theme-editor.php`
 2. Edit the style.css file
 3. Save the file
 4. Check a diff
 5. ❌ Nothing wrong

 === Actual Results
 1.  ❌ Error condition does not occur

 === Supplemental Artifacts
 Screenshots

 Edited through editor 2017 (reported in #52769)
 [[Image(https://i.imgur.com/zwhre8X.png)]]

 Edit through editor the oldest theme, 2010
 [[Image(https://i.imgur.com/WAIJCK9.png)]]

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


More information about the wp-trac mailing list