Skip to content

Commit

Permalink
Oops. Forgot that we support a PHP version from 2007. Either that or …
Browse files Browse the repository at this point in the history
…I've been doing a lot of JS.

Props kovshenin. See [24789].

git-svn-id: http://core.svn.wordpress.org/trunk@24792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
markjaquith committed Jul 24, 2013
1 parent 0c87edd commit 48eefd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-includes/media.php
Expand Up @@ -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 ) . '"';
}
Expand Down Expand Up @@ -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 ) . '"';
}
Expand Down

0 comments on commit 48eefd5

Please sign in to comment.