[wp-trac] [WordPress Trac] #55803: Span is removed from title due page saving

WordPress Trac noreply at wordpress.org
Tue May 24 12:31:54 UTC 2022


#55803: Span is removed from title due page saving
--------------------------+-----------------------------
 Reporter:  joyster       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.9.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello,

 since the update to wordpress 5.9 we detected some strange behavior, when
 editing existing posts, that contains HTML-Tags in their post title.
 The problem is, when editing the post, the HTML-Tags in the post title,
 are not displayed in the editor. The tags are just cutted out from the
 title. This problem have only editor group, admin group is ok with saving
 span in title.

 Steps to reproduce:

 1. Create a new post with HTML-Tags in the title for example: "<span>This
 is my title</span>"
 2. Save and publish the post with this title
 3. Go back to the "All posts" list
 4. Post is correctly displayed with "<span>This is my title</span>" in the
 list
 5. Edit the post
 6. post title lost the <span>-Tags
 7. Change the post title to "This is my title 2"
 8. Save the post
 9. <span>-Tags are totally gone, even in the "All posts" list.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55803>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list