Make WordPress Core


Ignore:
Timestamp:
11/20/2008 10:54:59 AM (17 years ago)
Author:
azaozz
Message:

Filter HTML entities when inserting strings with js, includes patch by nbachiyski, fixes #8254

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-scripts.php

    r9002 r9809  
    5252        }
    5353        echo "\n\t}\n";
     54        echo "try{convertEntities($object_name);}catch(e){};\n";
    5455        echo "/* ]]> */\n";
    5556        echo "</script>\n";
Note: See TracChangeset for help on using the changeset viewer.