Skip to content

Commit 4172074

Browse files
committed
With no e eval PCRE flag, remove stripslashes
1 parent 450524a commit 4172074

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/wp-includes/kses.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,8 +1097,6 @@ function _wp_kses_split_callback( $matches ) {
10971097
* @return string Fixed HTML element
10981098
*/
10991099
function wp_kses_split2( $content, $allowed_html, $allowed_protocols ) {
1100-
$content = wp_kses_stripslashes( $content );
1101-
11021100
/*
11031101
* The regex pattern used to split HTML into chunks attempts
11041102
* to split on HTML token boundaries. This function should

0 commit comments

Comments
 (0)