diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index e603fdbb98..92701ebbab 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -2440,7 +2440,7 @@ html.wp-toolbar { } /* two columns on the dash, but keep the setting if one is selected */ -@media only screen and (min-width: 800px) and (max-width: 1399px) { +@media only screen and (min-width: 800px) and (max-width: 1499px) { #wpbody-content #dashboard-widgets .postbox-container { width: 49.5%; } @@ -2482,7 +2482,7 @@ html.wp-toolbar { } /* three columns on the dash */ -@media only screen and (min-width: 1400px) and (max-width: 1800px) { +@media only screen and (min-width: 1500px) and (max-width: 1800px) { #wpbody-content #dashboard-widgets .postbox-container { width: 33.5%; } diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 02d300c100..d73d8f2b61 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -135,10 +135,9 @@ function _wp_dashboard_control_callback( $dashboard, $meta_box ) { */ function wp_dashboard() { $screen = get_current_screen(); - $class = 'columns-' . get_current_screen()->get_columns(); ?> -