wp_kses_stripslashes( string $content )

Strips slashes from in front of quotes.


Description

This function changes the character sequence \" to just ". It leaves all other slashes alone. The quoting from preg_replace(//e) requires this.


Parameters

$content

(Required) String to strip slashes from.


Return

(string) Fixed string with quoted slashes.


Source

File: wp-includes/kses.php

function wp_kses_stripslashes($string) {
	return preg_replace('%\\\\"%', '"', $string);
}

Changelog

Changelog
Version Description
1.0.0 Introduced.