WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/14/2010 01:00:22 AM (12 years ago)
Author:
dd32
Message:

Formatting, Translations & Whitespace. Props ptahdunbar. See #9015

File:
1 edited

Legend:

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

    r13031 r13128  
    22<?php
    33    // Do not delete these lines
    4     $req = get_option('require_name_email'); // Checks if fields are required.
     4    $req = get_option( 'require_name_email' ); // Checks if fields are required.
    55    if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) )
    6         die ( 'Please do not load this page directly. Thanks!' );
     6        die ( __( 'Please do not load this page directly. Thanks!', 'twentyten' ) );
    77    if ( post_password_required() ) :
    88?>
    9                 <div class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'twentyten') ?></div>
     9                <div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></div>
    1010            </div><!-- .comments -->
    1111<?php
     
    2323<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : // are there comments to navigate through ?>
    2424            <div class="navigation">
    25                 <div class="nav-previous"><?php previous_comments_link( __('&larr; Older Comments', 'twentyten') ) ?></div>
    26                 <div class="nav-next"><?php next_comments_link( __('Newer Comments &rarr;', 'twentyten') ) ?></div>
     25                <div class="nav-previous"><?php previous_comments_link( __('&larr; Older Comments', 'twentyten') ); ?></div>
     26                <div class="nav-next"><?php next_comments_link( __('Newer Comments &rarr;', 'twentyten') ); ?></div>
    2727            </div>
    2828<?php endif; // check for comment navigation ?>
    2929
    3030            <ol class="commentlist">
    31             <?php wp_list_comments( array('callback' => 'twentyten_comment') ); ?>
     31                <?php wp_list_comments( array('callback' => 'twentyten_comment') ); ?>
    3232            </ol>
    3333
    3434<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : // are there comments to navigate through ?>
    3535            <div class="navigation">
    36                 <div class="nav-previous"><?php previous_comments_link( __('&larr; Older Comments', 'twentyten') ) ?></div>
    37                 <div class="nav-next"><?php next_comments_link( __('Newer Comments &rarr;', 'twentyten') ) ?></div>
     36                <div class="nav-previous"><?php previous_comments_link( __('&larr; Older Comments', 'twentyten') ); ?></div>
     37                <div class="nav-next"><?php next_comments_link( __('Newer Comments &rarr;', 'twentyten') ); ?></div>
    3838            </div>
    3939<?php endif; // check for comment navigation ?>
Note: See TracChangeset for help on using the changeset viewer.