Fix dashboard width in IE. Props mdawaffe. fixes #6336

git-svn-id: http://svn.automattic.com/wordpress/trunk@7460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-21 21:05:22 +00:00
parent bc7ad1f8d2
commit 91e9d8bebf
2 changed files with 9 additions and 0 deletions

View File

@ -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;
}

View File

@ -6,6 +6,10 @@ if ( !current_user_can('edit_plugins') )
wp_die('<p>'.__('You do not have sufficient permissions to update plugins for this blog.').'</p>');
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();