Make WordPress Core

Changeset 49114


Ignore:
Timestamp:
10/09/2020 04:05:37 PM (4 years ago)
Author:
iandunn
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r49108 r49114  
    14511451             */
    14521452            'title'        => apply_filters( 'dashboard_primary_title', __( 'WordPress Blog' ) ),
    1453             'items'        => 1,
     1453            'items'        => 2,
    14541454            'show_summary' => 0,
    14551455            'show_author'  => 0,
Note: See TracChangeset for help on using the changeset viewer.