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:
parent
469170c44c
commit
904df4372e
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue