$count
is set in get_post_galleries()
and never used, relic from PFUI RIP.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28550 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1d78b1dcc4
commit
7b3181e4ed
@ -3030,7 +3030,6 @@ function get_post_galleries( $post, $html = true ) {
|
||||
foreach ( $matches as $shortcode ) {
|
||||
if ( 'gallery' === $shortcode[2] ) {
|
||||
$srcs = array();
|
||||
$count = 1;
|
||||
|
||||
$gallery = do_shortcode_tag( $shortcode );
|
||||
if ( $html ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user