From 77873dedcc4beca09c43fd1b32ec7936266435d4 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 24 Jul 2013 06:36:29 +0000 Subject: [PATCH] Oops. Forgot that we support a PHP version from 2007. Either that or I've been doing a lot of JS. Props kovshenin. See [24789]. git-svn-id: https://develop.svn.wordpress.org/trunk@24792 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index f5c0d68cc2..f87a269ebd 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -918,7 +918,7 @@ function wp_audio_shortcode( $attr ) { unset( $atts[$a] ); } - $attr_strings = []; + $attr_strings = array(); foreach ( $atts as $k => $v ) { $attr_strings[] = $k . '="' . esc_attr( $v ) . '"'; } @@ -1056,7 +1056,7 @@ function wp_video_shortcode( $attr ) { unset( $atts[$a] ); } - $attr_strings = []; + $attr_strings = array(); foreach ( $atts as $k => $v ) { $attr_strings[] = $k . '="' . esc_attr( $v ) . '"'; }