diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css index 7098b4bf8..ea11a4e64 100644 --- a/wp-admin/css/dashboard.css +++ b/wp-admin/css/dashboard.css @@ -77,6 +77,10 @@ div.postbox div.inside { #dashboard-widgets h3 a { text-decoration: underline; + float: right; + position: relative; + right: 5px; + top: -12px; } #dashboard-widgets h4 { diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 74f8c5913..489da9f0c 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -29,8 +29,6 @@ function wp_dashboard_setup() { // Recent Comments Widget $recent_comments_title = __( 'Recent Comments' ); - if ( current_user_can('edit_posts') ) - $recent_comments_title .= ' ' . __('View all') . ''; wp_add_dashboard_widget( 'dashboard_recent_comments', $recent_comments_title, 'wp_dashboard_recent_comments' ); // Incoming Links Widget @@ -56,7 +54,7 @@ function wp_dashboard_setup() { // Recent Drafts if ( current_user_can('edit_posts') ) - wp_add_dashboard_widget( 'dashboard_recent_drafts', __( 'Recent Drafts') . ' ' . __('View all') . '', 'wp_dashboard_recent_drafts' ); + wp_add_dashboard_widget( 'dashboard_recent_drafts', __('Recent Drafts'), 'wp_dashboard_recent_drafts' ); // Primary feed (Dev Blog) Widget if ( !isset( $widget_options['dashboard_primary'] ) ) { @@ -122,7 +120,7 @@ function wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_ return; } list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 ); - $widget_name .= ' ' . __( 'Edit' ) . ''; + $widget_name .= ' ' . __( 'Configure' ) . ''; } $side_widgets = array('dashboard_quick_press', 'dashboard_recent_drafts', 'dashboard_primary', 'dashboard_secondary'); $location = 'normal'; @@ -385,7 +383,7 @@ function wp_dashboard_recent_drafts( $drafts = false ) { - +

+

+