mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 10:14:31 +00:00
Filter HTML entities when inserting strings with js, includes patch by nbachiyski, fixes #8254
git-svn-id: https://develop.svn.wordpress.org/trunk@9809 602fd350-edb4-49c9-b593-d223f7449a82
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