Initialize some options for the secondary dashboard widget. see #11783

git-svn-id: http://svn.automattic.com/wordpress/trunk@13959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-04-03 07:31:28 +00:00
parent 5c8d92d2b1
commit 647fe5d199
1 changed files with 5 additions and 2 deletions

View File

@ -73,7 +73,7 @@ function wp_dashboard_setup() {
'items' => 2,
'show_summary' => 1,
'show_author' => 0,
'show_date' => 1
'show_date' => 1,
);
}
wp_add_dashboard_widget( 'dashboard_primary', $widget_options['dashboard_primary']['title'], 'wp_dashboard_primary', 'wp_dashboard_primary_control' );
@ -85,7 +85,10 @@ function wp_dashboard_setup() {
'link' => apply_filters( 'dashboard_secondary_link', __( 'http://planet.wordpress.org/' ) ),
'url' => apply_filters( 'dashboard_secondary_feed', __( 'http://planet.wordpress.org/feed/' ) ),
'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ),
'items' => 5
'items' => 5,
'show_summary' => 0,
'show_author' => 0,
'show_date' => 0,
);
}
wp_add_dashboard_widget( 'dashboard_secondary', $widget_options['dashboard_secondary']['title'], 'wp_dashboard_secondary', 'wp_dashboard_secondary_control' );