Make WordPress Core

Changeset 56697

Timestamp:
09/26/2023 03:52:16 AM (10 months ago)
Author:
peterwilsoncc
Message:

Administration: Add event type to Events and News widget.

Add the event type (WordCamp, Meetup, etc) to the nearby events listing within the Dashboard's Events and News widget.

Props renyot, audrasjb, ankit-k-gupta, oglekler, devmuhib, dhruvishah2203, JeffPaul, anveshika, sarahwilliams889, ajakaroth.
Fixes #58947.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

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

    r56291 r56697  
    559559}
    560560
     561
     562
     563
     564
    561565.event-icon {
    562566    height: 18px;
  • trunk/src/wp-admin/includes/dashboard.php

    r56599 r56697  
    14551455                    <div class="event-info-inner">
    14561456                        <a class="event-title" href="{{ event.url }}">{{ event.title }}</a>
     1457
     1458
     1459
     1460
     1461
     1462
     1463
     1464
     1465
    14571466                        <span class="event-city">{{ event.location.location }}</span>
    14581467                    </div>
Note: See TracChangeset for help on using the changeset viewer.