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

git-svn-id: https://develop.svn.wordpress.org/trunk@7460 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-21 21:05:22 +00:00
parent 909039479f
commit 22ab64425b
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();