Make WordPress Core

Changeset 63001


Ignore:
Timestamp:
08/04/2026 01:51:49 AM (2 months ago)
Author:
peterwilsoncc
Message:

Widgets: Revert On This Day dashboard widget.

The On This Day dashboard widget has been bumped from the WordPress 7.1 release to the 7.2 release pending design and behavioural improvements.

This reverts r62977, r62968, r62852, r62681.

Props annezazu, matt, peterwilsoncc.
Fixes #65801.

Location:
trunk
Files:
2 deleted
2 edited

Legend:

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

    r62943 r63001  
    10261026}
    10271027
    1028 /* On This Day dashboard widget */
    1029 
    1030 #wp_dashboard_on_this_day h3 {
    1031         font-weight: 600;
    1032 }
    1033 
    1034 #wp_dashboard_on_this_day li {
    1035         margin: 0;
    1036         padding: 0;
    1037 }
    1038 
    1039 #wp_dashboard_on_this_day ul ul {
    1040         margin: 0 0 0 18px;
    1041         padding: 0;
    1042         list-style: disc;
    1043 }
    1044 
    1045 #wp_dashboard_on_this_day ul ul li + li {
    1046         margin-top: 6px;
    1047 }
    1048 
    1049 #wp_dashboard_on_this_day .wp-on-this-day-widget > ul > li + li {
    1050         margin-top: 16px;
    1051 }
    1052 
    1053 #wp_dashboard_on_this_day .wp-on-this-day-post-author {
    1054         color: #646970;
    1055 }
    1056 
    10571028/* Browse happy box */
    10581029
  • trunk/src/wp-admin/includes/dashboard.php

    r62977 r63001  
    8888                wp_add_dashboard_widget( 'dashboard_quick_press', $quick_draft_title, 'wp_dashboard_quick_press' );
    8989        }
    90 
    91         // On This Day.
    92         if ( ! function_exists( 'wp_dashboard_on_this_day' ) ) {
    93                 require_once ABSPATH . 'wp-admin/includes/dashboard-on-this-day.php';
    94         }
    95 
    96         wp_add_dashboard_widget( 'wp_dashboard_on_this_day', __( 'On This Day' ), 'wp_dashboard_on_this_day' );
    9790
    9891        // WordPress Events and News.
Note: See TracChangeset for help on using the changeset viewer.