WordPress 4.9
find . -name "*.php" | xargs grep get_magic_quotes_gpc
./wp-includes/formatting.php: if ( get_magic_quotes_gpc() )
./wp-includes/formatting.php: if ( get_magic_quotes_gpc() )
./wp-includes/load.php: if ( get_magic_quotes_gpc() ) {
を
if ( function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc() ) {
にする