diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index b3a0f897f4..e745694031 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -61,7 +61,7 @@ if ( $_POST ) { foreach ( $options as $option_name ) { if ( ! isset($_POST[$option_name]) ) continue; - $value = stripslashes_deep( $_POST[$option_name] ); + $value = wp_unslash( $_POST[$option_name] ); update_site_option( $option_name, $value ); } @@ -181,7 +181,7 @@ if ( isset( $_GET['updated'] ) ) {