[wp-trac] [WordPress Trac] #57470: Copy and pasting from a document into the title field is including hidden html tags

WordPress Trac noreply at wordpress.org
Mon Jan 16 11:29:27 UTC 2023


#57470: Copy and pasting from a document into the title field is including hidden
html tags
--------------------------+---------------------------------
 Reporter:  mikeyott      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, administration
--------------------------+---------------------------------
Changes (by audrasjb):

 * version:  6.1.1 =>
 * component:  General => Editor


Comment:

 Hello and thank you for opening this ticket,

 I think it is an intended behavior: some (inline) HTML tags are allowed in
 the post title so they are not stripped.

 But all HTML tags are not allowed. <script>, for exemple, is of course
 automatically stripped :)

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


More information about the wp-trac mailing list