Ticket #4171: comments.php-nocomments.patch

File comments.php-nocomments.patch, 509 bytes (added by zeo, 6 years ago)
  • comments.php

     
    66                if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie 
    77                        ?> 
    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 
    1111                        <?php 
    1212                        return;