diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index e53fc29479..5adc2b0a0e 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -640,7 +640,7 @@ function wp_dashboard_recent_comments_control() { if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset($_POST['widget-recent-comments']) ) { $number = (int) stripslashes($_POST['widget-recent-comments']['items']); - if ( $number < 1 || $number > 15 ) + if ( $number < 1 || $number > 30 ) $number = 5; $widget_options['dashboard_recent_comments']['items'] = $number; update_option( 'dashboard_widget_options', $widget_options ); @@ -649,7 +649,7 @@ function wp_dashboard_recent_comments_control() { $number = isset( $widget_options['dashboard_recent_comments']['items'] ) ? (int) $widget_options['dashboard_recent_comments']['items'] : ''; echo '

'; - echo ' ' . __( '(at most 15)' ) . '

'; + echo ' ' . __( '(at most 30)' ) . '

'; } function wp_dashboard_incoming_links() {