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:
parent
bc7ad1f8d2
commit
91e9d8bebf
|
@ -56,3 +56,8 @@ form#template div {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
padding: 1px 5px;
|
padding: 1px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* without this dashboard widgets appear in one column for some screen widths */
|
||||||
|
div#dashboard-widgets {
|
||||||
|
padding-right: 1px;
|
||||||
|
}
|
||||||
|
|
|
@ -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>');
|
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) {
|
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) )
|
if ( empty($type) )
|
||||||
$type = get_filesystem_method();
|
$type = get_filesystem_method();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue