WordPress addslashes_gpc() function kodu
WordPress addslashes_gpc() function kodu
Magic_quotes_gpc ayarlanmışsa, önce eğik çizgiler kaldırılır, daha fazla ayrıntı için https://secure.php.net/magic_quotes adresine bakın.
function addslashes_gpc( $gpc ) {
if ( get_magic_quotes_gpc() ) {
$gpc = stripslashes( $gpc );
}
return wp_slash( $gpc );
}