Restore do_meta_boxes actions for the dashboard. fixes #8240

git-svn-id: http://svn.automattic.com/wordpress/trunk@9729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-16 17:46:57 +00:00
parent 469170c44c
commit 904df4372e
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 ) {