Restore do_meta_boxes actions for the dashboard. fixes #8240

git-svn-id: https://develop.svn.wordpress.org/trunk@9729 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-16 17:46:57 +00:00
parent 528fe647e4
commit 8b64a15a90
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ function wp_dashboard_setup() {
foreach ( $dashboard_widgets as $widget_id )
wp_add_dashboard_widget( $widget_id, $wp_registered_widgets[$widget_id]['name'], $wp_registered_widgets[$widget_id]['callback'], $wp_registered_widget_controls[$widget_id]['callback'] );
do_action('do_meta_boxes', 'dashboard', 'normal', '');
do_action('do_meta_boxes', 'dashboard', 'side', '');
}
function wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_callback = null ) {