From 92dacfafaf6d5c0460f3aa960301c488d14b2fd6 Mon Sep 17 00:00:00 2001 From: iandunn Date: Fri, 9 Oct 2020 16:07:07 +0000 Subject: [PATCH] Dashboard: Show `2` w.org news items to preserve clustered posts. These days there are often 2 posts published close to each other, like a release announcement and a Month In WordPress post. When that happens, the earlier post is often pushed out of the widget before many people have had a chance to see it. Ideally, the number of total items would remain at `4`, to reduce visual clutter. Implementing a conditional item would require a significant refactor, though. Increasing the total number of items to `5` is a practical compromise. Props hlashbrooke, tellyworth. Fixes #43441. Built from https://develop.svn.wordpress.org/trunk@49114 git-svn-id: http://core.svn.wordpress.org/trunk@48876 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index c9caa0892f..7ed08b8119 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1450,7 +1450,7 @@ function wp_dashboard_primary() { * @param string $title Title attribute for the widget's primary link. */ 'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ), - 'items' => 1, + 'items' => 2, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0, diff --git a/wp-includes/version.php b/wp-includes/version.php index 5df52681aa..fb2dd217a6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49113'; +$wp_version = '5.6-alpha-49114'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.