Make WordPress Core

Ticket #60013: 60013.patch

File 60013.patch, 2.0 KB (added by adnan.limdi, 14 months ago)

created patch

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

    diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
    index bbbeb0b855..4722f365ae 100644
    a b function wp_dashboard_events_news() { 
    13171317        <p class="community-events-footer">
    13181318                <?php
    13191319                        printf(
    1320                                 '<a href="%1$s" target="_blank">%2$s <span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
     1320                                '<a title="%2$s" href="%1$s" target="_blank">%2$s <span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
    13211321                                'https://make.wordpress.org/community/meetups-landing-page',
    13221322                                __( 'Meetups' ),
    13231323                                /* translators: Hidden accessibility text. */
    function wp_dashboard_events_news() { 
    13291329
    13301330                <?php
    13311331                        printf(
    1332                                 '<a href="%1$s" target="_blank">%2$s <span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
     1332                                '<a title="%2$s" href="%1$s" target="_blank">%2$s <span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
    13331333                                'https://central.wordcamp.org/schedule/',
    13341334                                __( 'WordCamps' ),
    13351335                                /* translators: Hidden accessibility text. */
    function wp_dashboard_events_news() { 
    13411341
    13421342                <?php
    13431343                        printf(
    1344                                 '<a href="%1$s" target="_blank">%2$s <span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
     1344                                '<a title="%2$s" href="%1$s" target="_blank">%2$s <span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
    13451345                                /* translators: If a Rosetta site exists (e.g. https://es.wordpress.org/news/), then use that. Otherwise, leave untranslated. */
    13461346                                esc_url( _x( 'https://wordpress.org/news/', 'Events and News dashboard widget' ) ),
    13471347                                __( 'News' ),