Make WordPress Core


Ignore:
Timestamp:
11/19/2006 07:56:05 AM (20 years ago)
Author:
ryan
Message:

Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986

File:
1 edited

Legend:

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

    r3517 r4495  
    33                die ('Please do not load this page directly. Thanks!');
    44
    5         if (!empty($post->post_password)) { // if there's a password
    6             if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    7                                 ?>
     5        if (!empty($post->post_password)) { // if there's a password
     6                if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
     7                        ?>
    88
    9                                 <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
     9                        <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
    1010
    11                                 <?php
    12                                 return;
    13             }
    14         }
     11                        <?php
     12                        return;
     13                }
     14        }
    1515
    16                 /* This variable is for alternating comment background */
    17                 $oddcomment = 'alt';
     16        /* This variable is for alternating comment background */
     17        $oddcomment = 'alt';
    1818?>
    1919
    … …  
    2121
    2222<?php if ($comments) : ?>
    23         <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3> 
     23        <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
    2424
    2525        <ol class="commentlist">
    … …  
    5151 <?php else : // this is displayed if there are no comments so far ?>
    5252
    53   <?php if ('open' == $post->comment_status) : ?>
     53        <?php if ('open' == $post->comment_status) : ?>
    5454                <!-- If comments are open, but there are no comments. -->
    5555
Note: See TracChangeset for help on using the changeset viewer.