mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750
git-svn-id: https://develop.svn.wordpress.org/trunk@6717 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -108,7 +108,7 @@ function wp_dashboard_setup() {
|
||||
// Filter widget order
|
||||
$dashboard_widgets = apply_filters( 'wp_dashboard_widgets', $dashboard_widgets );
|
||||
|
||||
$wp_dashboard_sidebars = array( 'wp_dashboard' => $dashboard_widgets );
|
||||
$wp_dashboard_sidebars = array( 'wp_dashboard' => $dashboard_widgets, 'array_version' => 3.5 );
|
||||
|
||||
add_filter( 'dynamic_sidebar_params', 'wp_dashboard_dynamic_sidebar_params' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user