From a5bdd9439c617e54b19922a570085083e3544b09 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 31 Jul 2013 20:36:47 +0000 Subject: [PATCH] When rendering an audio or video shortcode in IE 6-8, call document.createElement() as a poor man's HTML5 shiv. see #24902. git-svn-id: https://develop.svn.wordpress.org/trunk@24931 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/media.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index fde8b10445..334e6acc87 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -923,7 +923,10 @@ function wp_audio_shortcode( $attr ) { $attr_strings[] = $k . '="' . esc_attr( $v ) . '"'; } - $html = sprintf( '