[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 19:48:50 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 cantuaria):

 Hey @costdev , yeah I thought a lot prior to opening this ticket due to
 not having too much information to share and because I couldn't reproduce
 the error myself... I was hoping that someone here was also facing similar
 issue. I don't have access to the second site mentioned, I just follow
 their RSS... about my client, I have other websites which share same
 plugins and theme structure, but I believe he's the only one using Mac.

 My client claims he's typing the title instead of copying and pasting,
 during my tests I saw that the editor doesn't even allow to paste that
 character in the title field on my environment. My client also claims that
 he noted a different font family in the editor since the last update, but
 I didn't found any reference about it nor saw any difference.

 @SergeyBiryukov Adding it to the filter should be enough for URL, but the
 character will still be displayed at titles. I used the string replace in
 both 'sanitize_title' and 'wp_insert_post_data' filters to fix the issue
 entirely for my client.

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


More information about the wp-trac mailing list