From 3dc76d614ac9753489aa89396bcc642579769de5 Mon Sep 17 00:00:00 2001 From: antpb Date: Mon, 8 Nov 2021 00:22:57 +0000 Subject: [PATCH] Media: Adjust alt text info link text. Previous messaging of this link was confusing given it went to an external source. This change describes more accurately that it will perform the action of taking you to the resource. Props karmatosed, joedolson, melchoyce, hellofromTonya, afercia, sabernhardt, antpb. Fixes #48939. Built from https://develop.svn.wordpress.org/trunk@52033 git-svn-id: http://core.svn.wordpress.org/trunk@51625 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 2 +- wp-includes/media-template.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 8768c75ee2..b015836a8b 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -3228,7 +3228,7 @@ function edit_form_image_editor( $post ) { printf( /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ - __( 'Describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), + __( 'Learn how to describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), 'target="_blank" rel="noopener"', sprintf( diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 46e20f48d7..f89945d45b 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -158,7 +158,7 @@ function wp_print_media_templates() { $alt_text_description = sprintf( /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ - __( 'Describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), + __( 'Learn how to describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), 'target="_blank" rel="noopener"', sprintf( diff --git a/wp-includes/version.php b/wp-includes/version.php index 47fba7a37f..7309971045 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52032'; +$wp_version = '5.9-alpha-52033'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.