WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/20/2015 02:03:45 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Bundled themes: After [31453], replace current() with reset(), which is guaranteed to be the first item.

see #31259, #31260.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/loop.php

    r31453 r31842  
    7676                    if ( $images ) :
    7777                        $total_images = count( $images );
    78                         $image = current( $images );
     78                        $image = reset( $images );
    7979                ?>
    8080                        <div class="gallery-thumb">
Note: See TracChangeset for help on using the changeset viewer.