Overwrite your bad ol' wp-includes/formatting.php with this file to avoid that annoying PHP warning. If you prefer to fix it yourself instead downloading a 4.3k php file (which is pretty logical), go to the line 4144 of your local Wordpress installation, and replace this:
if ( SCRIPT_DEBUG ) {
with this: