[wp-trac] [WordPress Trac] #55117: Possible 5.9 Bug: Unknown character ( or %ef%bf%bc ) on content title

WordPress Trac noreply at wordpress.org
Tue Feb 8 22:57:22 UTC 2022


#55117: Possible 5.9 Bug: Unknown character ( or %ef%bf%bc ) on content title
--------------------------+------------------------------
 Reporter:  cantuaria     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by archon810):

 Digging around, it looks like the relevant commit that may have introduced
 these issues may be
 https://github.com/WordPress/WordPress/commit/43644069eab4209ef03c2faa476219849c3f6d6a
 from #47912.

 Looking at our data, for example, here's a pair of term/slug that was
 saved pre-5.9:
 `Accu​Battery   accu%e2%80%8bbattery`

 The term actually has `E2 80 8B` after "u" which explains why the slug was
 created like that. So 5.9 will start stripping these characters from the
 slug for newly created terms, which is great. But something about this
 change also had the effect of breaking existing urls, which now 404.

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


More information about the wp-trac mailing list