]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyten/archive.php
WordPress 3.4
[autoinstalls/wordpress.git] / wp-content / themes / twentyten / archive.php
index 52baaa7037bdb9cd9930daaadb0a51c4b9136f84..3899f0ecded006fa59ce2bcc301d2a97ab6ab09a 100644 (file)
@@ -32,9 +32,9 @@ get_header(); ?>
 <?php if ( is_day() ) : ?>
                                <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?>
 <?php elseif ( is_month() ) : ?>
-                               <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?>
+                               <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); ?>
 <?php elseif ( is_year() ) : ?>
-                               <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?>
+                               <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); ?>
 <?php else : ?>
                                <?php _e( 'Blog Archives', 'twentyten' ); ?>
 <?php endif; ?>
@@ -49,7 +49,7 @@ get_header(); ?>
 
        /* Run the loop for the archives page to output the posts.
         * If you want to overload this in a child theme then include a file
-        * called loop-archives.php and that will be used instead.
+        * called loop-archive.php and that will be used instead.
         */
         get_template_part( 'loop', 'archive' );
 ?>