$gallery_div is set twice in gallery_shortcode() before it is used.

See #27882.


git-svn-id: https://develop.svn.wordpress.org/trunk@28549 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-05-22 19:11:16 +00:00
parent ae9cf4a66d
commit 1d78b1dcc4

View File

@@ -1008,7 +1008,7 @@ function gallery_shortcode( $attr ) {
$selector = "gallery-{$instance}";
$gallery_style = $gallery_div = '';
$gallery_style = '';
/**
* Filter whether to print default gallery styles.