Changeset 2376 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/comments.php
- Timestamp:
- 01/26/2016 11:41:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/comments.php
r1474 r2376 1 1 <?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?> 2 <p><?php _e( 'Enter your password to view comments.'); ?></p>2 <p><?php _e( 'Enter your password to view comments.', 'wporg-showcase' ); ?></p> 3 3 <?php return; endif; ?> 4 4 5 5 <?php if ( is_single() ) : ?> 6 <div class="nextprev"><span class="prev"><?php previous_post( '« %', '');?></span><span class="next"><?php next_post('% »', ''); ?></span><div class="clear"></div></div>6 <div class="nextprev"><span class="prev"><?php previous_post( __( '« %', 'wporg-showcase' ), '');?></span><span class="next"><?php next_post( __( '% »', 'wporg-showcase' ), ''); ?></span><div class="clear"></div></div> 7 7 <?php endif; ?> 8 8 9 9 <?php if ( $comments ) : ?> 10 <h2 class="fancy"><?php comments_number( __('No Pings'), __('1 Ping'), __('% Pings')); ?></h2>10 <h2 class="fancy"><?php comments_number( __( 'No Pings', 'wporg-showcase' ), __( '1 Ping', 'wporg-showcase' ), __( '% Pings', 'wporg-showcase' ) ); ?></h2> 11 11 <ol id="comments"> 12 12 … … 14 14 <li id="comment-<?php comment_ID() ?>" <?php if ($i % 2) echo "class='altc'"; ?>> 15 15 <?php comment_text() ?> 16 <p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> from <?php comment_author_link() ?> on <?php comment_date() ?></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p> 16 <p><cite><?php printf( 17 _x( '%1$s from %2$s on %3$s', '{comment type} from {comment author link} on {comment date}', 'wporg-showcase' ), 18 comment_type( __( 'Comment', 'wporg-showcase' ), __( 'Trackback', 'wporg-showcase' ), __( 'Pingback', 'wporg-showcase' ) ), 19 comment_author_link(), 20 comment_date() 21 ); ?></cite> <?php edit_comment_link( __( 'Edit This', 'wporg-showcase' ), ' |' ); ?></p> 17 22 </li> 18 23
Note: See TracChangeset
for help on using the changeset viewer.