Make WordPress Core

Ticket #41208: 41208.2.diff

File 41208.2.diff, 657 bytes (added by sayedulsayem, 3 years ago)

padrone me for my previous patch. This is the actual working solution

  • src/wp-admin/includes/dashboard.php

    diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
    index 14d2837867..3da045bb35 100644
    a b function wp_print_community_events_templates() { 
    14251425                                <div class="event-info">
    14261426                                        <div class="dashicons event-icon" aria-hidden="true"></div>
    14271427                                        <div class="event-info-inner">
    1428                                                 <a class="event-title" href="{{ event.url }}">{{ event.title }}</a>
     1428                                                <a class="event-title" href="{{ event.url }}">{{{ event.title }}}</a>
    14291429                                                <span class="event-city">{{ event.location.location }}</span>
    14301430                                        </div>
    14311431                                </div>