`$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
This commit is contained in:
parent
09046cb2a3
commit
abff6bf6cf
|
@ -1008,7 +1008,7 @@ function gallery_shortcode( $attr ) {
|
||||||
|
|
||||||
$selector = "gallery-{$instance}";
|
$selector = "gallery-{$instance}";
|
||||||
|
|
||||||
$gallery_style = $gallery_div = '';
|
$gallery_style = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter whether to print default gallery styles.
|
* Filter whether to print default gallery styles.
|
||||||
|
|
Loading…
Reference in New Issue