WordPress.org

Make WordPress Core

Ticket #50338: 50338.1.diff

File 50338.1.diff, 1.7 KB (added by audrasjb, 15 months ago)

Dashboard: Add explicit labelling to WordPress Events dashboard widget

  • src/wp-admin/css/dashboard.css

    diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css
    index e341c61bbc..7a0c3a4219 100644
    a b  
    348348        border-left: 4px solid #00a0d2;
    349349}
    350350
     351#dashboard-widgets .community-events li.event-none a {
     352        text-decoration: underline;
     353}
     354
    351355.community-events-form label {
    352356        display: inline-block;
    353357        vertical-align: top;
  • src/wp-admin/includes/dashboard.php

    diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
    index 7435ec7988..28859aae0b 100644
    a b function wp_print_community_events_templates() { 
    13911391                                <?php
    13921392                                printf(
    13931393                                        /* translators: 1: The city the user searched for, 2: Meetup organization documentation URL. */
    1394                                         __( 'There aren&#8217;t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize one</a>?' ),
     1394                                        __( 'There aren&#8217;t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize a WordPress event</a>?' ),
    13951395                                        '{{ data.location.description }}',
    13961396                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    13971397                                );
    function wp_print_community_events_templates() { 
    14011401                                <?php
    14021402                                printf(
    14031403                                        /* translators: %s: Meetup organization documentation URL. */
    1404                                         __( 'There aren&#8217;t any events scheduled near you at the moment. Would you like to <a href="%s">organize one</a>?' ),
     1404                                        __( 'There aren&#8217;t any events scheduled near you at the moment. Would you like to <a href="%s">organize a WordPress event</a>?' ),
    14051405                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    14061406                                );
    14071407                                ?>