Index: wp-includes/formatting.php
===================================================================
--- wp-includes/formatting.php	(revision 18405)
+++ wp-includes/formatting.php	(working copy)
@@ -1227,8 +1227,8 @@
  *
  * @since 2.0.0
  *
- * @param array|string $value The array or string to be stripped.
- * @return array|string Stripped array (or string in the callback).
+ * @param mixed $value The value to be stripped.
+ * @return mixed Stripped value.
  */
 function stripslashes_deep($value) {
 	if ( is_array($value) ) {
@@ -1238,7 +1238,7 @@
 		foreach ($vars as $key=>$data) {
 			$value->{$key} = stripslashes_deep( $data );
 		}
-	} else {
+	} elseif ( is_string($value) ) {
 		$value = stripslashes($value);
 	}
 
