mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Dashboard columns:
* Improve responsive breakpoints for. * Remove obsolete network admin option. * Remove unnecessary JS. props SergeyBiryukov, kraftbj, lessbloat. fixes #26074. git-svn-id: https://develop.svn.wordpress.org/trunk@26392 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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();
|
||||
|
||||
?>
|
||||
<div id="dashboard-widgets" class="metabox-holder <?php echo $class; ?>">
|
||||
<div id="dashboard-widgets" class="metabox-holder">
|
||||
<div id='postbox-container-1' class='postbox-container'>
|
||||
<?php do_meta_boxes( $screen->id, 'normal', '' ); ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user