From 00192e27a5867abb07a4711548d00124902768d6 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 27 May 2010 18:57:07 +0000 Subject: [PATCH] Add JS var isRtl to admin-header and remove unused JS localized vars for nav-menu. see #13525. git-svn-id: http://svn.automattic.com/wordpress/trunk@14999 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-header.php | 3 ++- wp-includes/script-loader.php | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 709418ba2..61ba38b21 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -45,7 +45,8 @@ var userSettings = { typenow = 'post_type) ) echo $current_screen->post_type; ?>', adminpage = '', thousandsSeparator = 'number_format['thousands_sep'] ); ?>', - decimalPoint = 'number_format['decimal_point'] ); ?>'; + decimalPoint = 'number_format['decimal_point'] ); ?>', + isRtl = ; //]]> add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", false, '20100527' ); $scripts->localize( 'nav-menu', 'navMenuL10n', array( - 'home' => _x('Home', 'nav menu home label'), - 'homeurl' => home_url('/'), 'custom' => _x('Custom', 'menu nav item type'), 'thickbox' => _x('Edit Menu Item', 'Thickbox Title'), 'edit' => _x('Edit', 'menu item edit text'),