Make WordPress Core

Ticket #15123: 15123.patch

File 15123.patch, 889 bytes (added by Utkarsh, 15 years ago)
  • wp-content/themes/twentyten/loop.php

     
    7979                                                <div class="gallery-thumb">
    8080                                                        <a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
    8181                                                </div><!-- .gallery-thumb -->
    82                                                 <p><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'twentyten' ),
     82                                                <p><em><?php printf( _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyten' ),
    8383                                                                'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
    8484                                                                $total_images
    8585                                                        ); ?></em></p>