From abff6bf6cfd6c70b507236071ac24a7c3afdacfe Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 22 May 2014 19:12:14 +0000 Subject: [PATCH] `$gallery_div` is set twice in `gallery_shortcode()` before it is used. See #27882. Built from https://develop.svn.wordpress.org/trunk@28549 git-svn-id: http://core.svn.wordpress.org/trunk@28375 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 364817712f..7ecae01cd1 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1008,7 +1008,7 @@ function gallery_shortcode( $attr ) { $selector = "gallery-{$instance}"; - $gallery_style = $gallery_div = ''; + $gallery_style = ''; /** * Filter whether to print default gallery styles.