Add JS var isRtl to admin-header and remove unused JS localized vars for nav-menu. see #13525.

git-svn-id: https://develop.svn.wordpress.org/trunk@14999 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-27 18:57:07 +00:00
parent 9ac718a3eb
commit 70fb7342c7
2 changed files with 2 additions and 3 deletions

View File

@@ -45,7 +45,8 @@ var userSettings = {
typenow = '<?php if ( isset($current_screen->post_type) ) echo $current_screen->post_type; ?>',
adminpage = '<?php echo $admin_body_class; ?>',
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>';
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
isRtl = <?php echo (int) is_rtl(); ?>;
//]]>
</script>
<?php