Filter HTML entities when inserting strings with js, includes patch by nbachiyski, fixes #8254
git-svn-id: http://svn.automattic.com/wordpress/trunk@9809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -51,6 +51,7 @@ class WP_Scripts extends WP_Dependencies {
|
||||
$eol = ",\n";
|
||||
}
|
||||
echo "\n\t}\n";
|
||||
echo "try{convertEntities($object_name);}catch(e){};\n";
|
||||
echo "/* ]]> */\n";
|
||||
echo "</script>\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user