Skip to content

Commit 881191d

Browse files
committed
Deprecate it.
1 parent 4172074 commit 881191d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/wp-includes/kses.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,10 +1818,13 @@ function wp_kses_no_null( $content, $options = null ) {
18181818
*
18191819
* @since 1.0.0
18201820
*
1821+
* @deprecated 6.9.0 Not necessary since the `e` PCRE modifier was removed in PHP 7.0.
1822+
*
18211823
* @param string $content String to strip slashes from.
18221824
* @return string Fixed string with quoted slashes.
18231825
*/
18241826
function wp_kses_stripslashes( $content ) {
1827+
_deprecated_function( __FUNCTION__, '6.9.0' );
18251828
return preg_replace( '%\\\\"%', '"', $content );
18261829
}
18271830

0 commit comments

Comments
 (0)