From eddc178ee13c0e6b6887fdb1bf1426fbf3a24184 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 13 Feb 2010 03:12:51 +0000 Subject: [PATCH] Escape thousandsSeparator and decimalPoint JS variables, see #12005 git-svn-id: http://svn.automattic.com/wordpress/trunk@13078 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index fec9451c7e..62b74788ca 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -35,7 +35,7 @@ $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix); //','uid':'ID; ?>','time':''}; -var ajaxurl = '', pagenow = '', typenow = '', adminpage = '', thousandsSeparator = 'number_format['thousands_sep']; ?>', decimalPoint = 'number_format['decimal_point']; ?>'; +var ajaxurl = '', pagenow = '', typenow = '', adminpage = '', thousandsSeparator = 'number_format['thousands_sep'] ); ?>', decimalPoint = 'number_format['decimal_point'] ); ?>'; //]]>