Make WordPress Core

Ticket #60975: 60975.3.diff

File 60975.3.diff, 1.7 KB (added by joedolson, 6 months ago)

Updated patch

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

     
    32413241                printf(
    32423242                        /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */
    32433243                        __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
    3244                         esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
     3244                        /* translators: Localized tutorial, if one exists. W3C Web Accessibility Initative link has list of existing translations. */
     3245                        esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree/' ) ),
    32453246                        'target="_blank" rel="noopener"',
    32463247                        sprintf(
    32473248                                '<span class="screen-reader-text"> %s</span>',
  • src/wp-includes/media-template.php

     
    159159        $alt_text_description = sprintf(
    160160                /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */
    161161                __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
    162                 esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
     162                /* translators: Localized tutorial, if one exists. W3C Web Accessibility Initative link has list of existing translations. */
     163                esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree/' ) ),
    163164                'target="_blank" rel="noopener"',
    164165                sprintf(
    165166                        '<span class="screen-reader-text"> %s</span>',