[wp-trac] [WordPress Trac] #24001: \s in the regexp destroys some UTF-8 characters in pingback_ping()
WordPress Trac
noreply at wordpress.org
Tue Apr 9 07:16:11 UTC 2013
#24001: \s in the regexp destroys some UTF-8 characters in pingback_ping()
-----------------------------+--------------------------
Reporter: tenpura | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: XML-RPC
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------------+--------------------------
\s in the regexp destroys some UTF-8 characters in pingback_ping(). Same
issue as in #21625.
Steps to reproduce:
1. Pingback with the post title "САПР".
2. It will create a pingback comment with no comment author (Anonymous).
Solution:
Use [\r\n\t ] rather than [\s\r\n\t].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24001>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list