`$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:
Scott Taylor 2014-05-22 19:13:01 +00:00
parent 1d78b1dcc4
commit 7b3181e4ed
1 changed files with 0 additions and 1 deletions

View File

@ -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 ) {