[wp-trac] [WordPress Trac] #13314: HTML is deleted when switched to visual editor

WordPress Trac noreply at wordpress.org
Tue Dec 2 19:53:34 UTC 2025


#13314: HTML is deleted when switched to visual editor
--------------------------+---------------------
 Reporter:  BH8489        |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by jackace):

 I ran into a similar issue while cleaning up some old ID-handling logic on
 my own setup over at http://skelliewag.org/
 , and tightening the checks made a noticeable difference. Making sure
 get_userdata() doesn’t fall back to user 1 on garbage input is definitely
 the right direction, even small inconsistencies can lead to confusing
 behavior later.

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


More information about the wp-trac mailing list