Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r3517 r2530  
    66            if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    77                ?>
    8 
     8               
    99                <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
    10 
     10               
    1111                <?php
    1212                return;
     
    4040        </li>
    4141
    42     <?php /* Changes every other comment to a different class */
     42    <?php /* Changes every other comment to a different class */   
    4343        if ('alt' == $oddcomment) $oddcomment = '';
    4444        else $oddcomment = 'alt';
     
    5353  <?php if ('open' == $post->comment_status) : ?>
    5454        <!-- If comments are open, but there are no comments. -->
    55 
     55       
    5656     <?php else : // comments are closed ?>
    5757        <!-- If comments are closed. -->
    5858        <p class="nocomments">Comments are closed.</p>
    59 
     59       
    6060    <?php endif; ?>
    6161<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.