From a52d8cdfc252369a7fef078cbd1148715f645e14 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 4 Aug 2021 14:23:18 +0000 Subject: [PATCH] Media: Add `/` character to `` tag in `wp_print_media_templates()`. While this has no effect on void elements in HTML5, it fixes a minor inconsistency with the rest of core. Follow-up to [47493], [48834], [50556], [51473], [51541]. Props shital-patel, akabarikalpesh. Fixes #53870. git-svn-id: https://develop.svn.wordpress.org/trunk@51542 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 1e3f9d614ca7..46e20f48d70b 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -1479,7 +1479,7 @@ function wp_print_media_templates() {