[wp-trac] [WordPress Trac] #49337: Post title changed after publication if a <tag> is found by adding </tag>

WordPress Trac noreply at wordpress.org
Sat Feb 1 10:11:41 UTC 2020


#49337: Post title changed after publication if a <tag> is found by adding </tag>
--------------------------+-----------------------------
 Reporter:  casiepa       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.3.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WordPress 5.3.2
 Theme Twenty Twenty

 A post title of
 {{{
 Bert & Ernie’s <banana> festi­­val
 }}}
 becomes
 {{{
 Bert & Ernie’s festi­­val
 }}}
 on the frontend after publication and gets a slug of bert-ernies-festival

 The backend is keeping the full title with the <banana> inside when I
 check the posts.

 1. Where did the banana go in displaying the title (or is this 2020
 issue?)
 2. Should the slug not be picking up words that are non existing tags? A
 post with just <whatever> as a title will result in post slug '123' (the
 post ID)

 Thanks!

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


More information about the wp-trac mailing list