diff --git a/wp-content/themes/twentyeleven/content-gallery.php b/wp-content/themes/twentyeleven/content-gallery.php index 14c1c1c9d0..1fc538745a 100644 --- a/wp-content/themes/twentyeleven/content-gallery.php +++ b/wp-content/themes/twentyeleven/content-gallery.php @@ -36,7 +36,7 @@ $images = twentyeleven_get_gallery_images(); if ( $images ) : $total_images = count( $images ); - $image = current( $images ); + $image = reset( $images ); ?>