From 22ab64425b7457f60e634fd3078c7473eb353575 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 21 Mar 2008 21:05:22 +0000 Subject: [PATCH] Fix dashboard width in IE. Props mdawaffe. fixes #6336 git-svn-id: https://develop.svn.wordpress.org/trunk@7460 602fd350-edb4-49c9-b593-d223f7449a82 --- 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();