mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
$count
is set in get_post_galleries()
and never used, relic from PFUI RIP.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28550 git-svn-id: http://core.svn.wordpress.org/trunk@28376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
abff6bf6cf
commit
dd25ef25d9
@ -3030,7 +3030,6 @@ function get_post_galleries( $post, $html = true ) {
|
|||||||
foreach ( $matches as $shortcode ) {
|
foreach ( $matches as $shortcode ) {
|
||||||
if ( 'gallery' === $shortcode[2] ) {
|
if ( 'gallery' === $shortcode[2] ) {
|
||||||
$srcs = array();
|
$srcs = array();
|
||||||
$count = 1;
|
|
||||||
|
|
||||||
$gallery = do_shortcode_tag( $shortcode );
|
$gallery = do_shortcode_tag( $shortcode );
|
||||||
if ( $html ) {
|
if ( $html ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user