Index: wp-includes/class.wp-scripts.php
===================================================================
--- wp-includes/class.wp-scripts.php	(revision 28219)
+++ wp-includes/class.wp-scripts.php	(working copy)
@@ -161,10 +161,10 @@
 		}
 
 		foreach ( (array) $l10n as $key => $value ) {
-			if ( !is_scalar($value) )
+			if ( !is_string($value) )
 				continue;
 
-			$l10n[$key] = html_entity_decode( (string) $value, ENT_QUOTES, 'UTF-8');
+			$l10n[$key] = html_entity_decode( $value, ENT_QUOTES, 'UTF-8');
 		}
 
 		$script = "var $object_name = " . json_encode($l10n) . ';';
