Make WordPress Core


Ignore:
Timestamp:
03/16/2010 08:17:22 PM (15 years ago)
Author:
iammattthomas
Message:

Coding standards cleanup in twentyten, see #9015. Props sivel

File:
1 edited

Legend:

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

    r13498 r13720  
    1414<?php if ( have_comments() ) : ?>
    1515            <h3 id="comments-title"><?php comments_number(
    16                 sprintf(__('No Responses to %s', 'twentyten'), '<em>' . get_the_title() . '</em>'),
    17                 sprintf(__('One Response to %s', 'twentyten'), '<em>' . get_the_title() . '</em>'),
    18                 sprintf(__('%% Responses to %s', 'twentyten'), '<em>' . get_the_title() . '</em>')
     16                sprintf( __( 'No Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ),
     17                sprintf( __( 'One Response to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ),
     18                sprintf( __( '%% Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' )
    1919            ); ?> </h3>
    2020
    2121<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
    2222            <div class="navigation">
    23                 <div class="nav-previous"><?php previous_comments_link( __('&larr; Older Comments', 'twentyten') ); ?></div>
    24                 <div class="nav-next"><?php next_comments_link( __('Newer Comments &rarr;', 'twentyten') ); ?></div>
     23                <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyten' ) ); ?></div>
     24                <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyten' ) ); ?></div>
    2525            </div>
    2626<?php endif; // check for comment navigation ?>
    2727
    2828            <ol class="commentlist">
    29                 <?php wp_list_comments( array('callback' => 'twentyten_comment') ); ?>
     29                <?php wp_list_comments( array( 'callback' => 'twentyten_comment' ) ); ?>
    3030            </ol>
    3131
    3232<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
    3333            <div class="navigation">
    34                 <div class="nav-previous"><?php previous_comments_link( __('&larr; Older Comments', 'twentyten') ); ?></div>
    35                 <div class="nav-next"><?php next_comments_link( __('Newer Comments &rarr;', 'twentyten') ); ?></div>
     34                <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyten' ) ); ?></div>
     35                <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyten' ) ); ?></div>
    3636            </div>
    3737<?php endif; // check for comment navigation ?>
     
    4343<?php else : // if comments are closed ?>
    4444
    45         <p class="nocomments"><?php _e('Comments are closed.', 'twentyten'); ?></p>
     45        <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p>
    4646
    4747<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.