From f6a419e564d8cc7e789f2a62a7aecc618cd8bd97 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Aug 2019 19:15:52 +0000 Subject: [PATCH] Accessibility: Fix the `alt` attribute of the Gallery images within the Classic Editor. Passes the images `alt` attribute value to the Gallery template used within the Classic Editor. Props yarnboy, wpboss. Merges [45725] to the 5.2 branch. Fixes #47687. Built from https://develop.svn.wordpress.org/branches/5.2@45865 git-svn-id: http://core.svn.wordpress.org/branches/5.2@45676 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media-template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 04fd8a644e..d35d6fcd9f 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -1294,9 +1294,9 @@ function wp_print_media_templates() {