From 91e9d8bebf78b77a55e5eb215c6368c23be518a0 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 21 Mar 2008 21:05:22 +0000 Subject: [PATCH] Fix dashboard width in IE. Props mdawaffe. fixes #6336 git-svn-id: http://svn.automattic.com/wordpress/trunk@7460 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/ie.css | 5 +++++ wp-admin/update.php | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index dd7deaaebc..968dd3cc94 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -56,3 +56,8 @@ form#template div { overflow: visible; padding: 1px 5px; } + +/* without this dashboard widgets appear in one column for some screen widths */ +div#dashboard-widgets { + padding-right: 1px; +} diff --git a/wp-admin/update.php b/wp-admin/update.php index f10b5219ff..b33eac2cdb 100644 --- a/wp-admin/update.php +++ b/wp-admin/update.php @@ -6,6 +6,10 @@ if ( !current_user_can('edit_plugins') ) wp_die('

'.__('You do not have sufficient permissions to update plugins for this blog.').'

'); function request_filesystem_credentials($form_post, $type = '', $error = false) { + $req_cred = apply_filters('request_filesystem_credentials', '', $form_post, $type, $error); + if ( '' !== $req_cred ) + return $req_cred; + if ( empty($type) ) $type = get_filesystem_method();