wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_kses_stripslashes › WordPress Function

Da1.0.0
Deprecaton/a
wp_kses_stripslashes ( $content )
Parametri:
  • (string) $content String to strip slashes from.
    Richiesto:
Ritorna:
  • (string) Fixed string with quoted slashes.
Definito a:
Codex:

Strips slashes from in front of quotes.

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


Sorgenti

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