Skip to content

Commit e1a33a7

Browse files
committed
Move external link icon outside the link element
Moves the dashicons-external icon outside the anchor tag so it appears after the link text rather than inside it. Fixes #64374
1 parent d1508d5 commit e1a33a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wp-admin/includes/media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3238,7 +3238,7 @@ function edit_form_image_editor( $post ) {
32383238

32393239
printf(
32403240
/* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text, 4: External link icon. */
3241-
__( 'Alt text describes the image\'s purpose. Leave it blank if the image is purely decorative. <a href="%1$s" %2$s>Learn more about alt text%3$s%4$s</a>.' ),
3241+
__( 'Alt text describes the image\'s purpose. Leave it blank if the image is purely decorative. <a href="%1$s" %2$s>Learn more about alt text%3$s</a>%4$s.' ),
32423242
/* translators: Localized tutorial, if one exists. W3C Web Accessibility Initiative link has list of existing translations. */
32433243
esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree/' ) ),
32443244
'target="_blank"',

src/wp-includes/media-template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function wp_print_media_templates() {
158158

159159
$alt_text_description = sprintf(
160160
/* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text, 4: External link icon. */
161-
__( 'Alt text describes the image\'s purpose. Leave it blank if the image is purely decorative. <a href="%1$s" %2$s>Learn more about alt text%3$s%4$s</a>.' ),
161+
__( 'Alt text describes the image\'s purpose. Leave it blank if the image is purely decorative. <a href="%1$s" %2$s>Learn more about alt text%3$s</a>%4$s.' ),
162162
/* translators: Localized tutorial, if one exists. W3C Web Accessibility Initiative link has list of existing translations. */
163163
esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree/' ) ),
164164
'target="_blank"',

0 commit comments

Comments
 (0)