Changeset 56697 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 09/26/2023 03:52:16 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r56599 r56697 1455 1455 <div class="event-info-inner"> 1456 1456 <a class="event-title" href="{{ event.url }}">{{ event.title }}</a> 1457 <# if ( event.type ) { 1458 const titleCaseEventType = event.type.replace( 1459 /\w\S*/g, 1460 function ( type ) { return type.charAt(0).toUpperCase() + type.substr(1).toLowerCase(); } 1461 ); 1462 #> 1463 {{ 'wordcamp' === event.type ? 'WordCamp' : titleCaseEventType }} 1464 <span class="ce-separator"></span> 1465 <# } #> 1457 1466 <span class="event-city">{{ event.location.location }}</span> 1458 1467 </div>
Note: See TracChangeset
for help on using the changeset viewer.