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
This commit is contained in:
parent
c628344422
commit
92dacfafaf
@ -1450,7 +1450,7 @@ function wp_dashboard_primary() {
|
|||||||
* @param string $title Title attribute for the widget's primary link.
|
* @param string $title Title attribute for the widget's primary link.
|
||||||
*/
|
*/
|
||||||
'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ),
|
'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ),
|
||||||
'items' => 1,
|
'items' => 2,
|
||||||
'show_summary' => 0,
|
'show_summary' => 0,
|
||||||
'show_author' => 0,
|
'show_author' => 0,
|
||||||
'show_date' => 0,
|
'show_date' => 0,
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user