[wp-trac] [WordPress Trac] #28699: \0 (backslash+zero) gets stripped from post content for users without "unfiltered_html"
WordPress Trac
noreply at wordpress.org
Tue Jul 1 17:43:10 UTC 2014
#28699: \0 (backslash+zero) gets stripped from post content for users without
"unfiltered_html"
------------------------------------------+------------------
Reporter: azaozz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Formatting | Version: 1.0
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------
Changes (by SergeyBiryukov):
* version: => 1.0
* component: General => Formatting
Comment:
Caused by the second line in [source:tags/3.9.1/src/wp-
includes/kses.php#L989 wp_kses_no_null()]:
{{{
$string = preg_replace('/(\\\\0)+/', '', $string);
}}}
Introduced in [649].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28699#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list