[wp-trac] [WordPress Trac] #27076: double newlines inserted before captions

WordPress Trac noreply at wordpress.org
Tue Jul 1 17:43:07 UTC 2025


#27076: double newlines inserted before captions
--------------------------+---------------------------------------------
 Reporter:  arupqfjm      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  2.6
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |     Focuses:  ui, javascript, administration
--------------------------+---------------------------------------------
Changes (by azaozz):

 * keywords:  has-patch 2nd-opinion needs-refresh => has-patch
 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Replying to [comment:6 SirLouen]:
 > @azaozz added this line back in the day

 This seems needed to ensure captions in the old editor work as expected.
 Changing it now might break them, and that code is in "deep maintenance"
 mode. Thinking it is safe to close it after 17 years. The behaviour is
 correct in most cases, and can be corrected by hand if absolutely
 necessary.

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


More information about the wp-trac mailing list