Changeset 15843 for trunk/wp-includes/theme-compat/comments.php
- Timestamp:
- 10/19/2010 07:48:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme-compat/comments.php
r14983 r15843 4 4 * @subpackage Theme_Compat 5 5 * @deprecated 3.0 6 * 6 * 7 7 * This file is here for Backwards compatibility with old themes and will be removed in a future version 8 * 8 * 9 9 */ 10 10 _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) ); … … 13 13 if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) 14 14 die ('Please do not load this page directly. Thanks!'); 15 15 16 16 if ( post_password_required() ) { ?> 17 <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.'); ?></p> 17 <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.'); ?></p> 18 18 <?php 19 19 return; … … 59 59 <h3><?php comment_form_title( __('Leave a Reply'), __('Leave a Reply to %s' ) ); ?></h3> 60 60 61 <div id="cancel-comment-reply"> 61 <div id="cancel-comment-reply"> 62 62 <small><?php cancel_comment_reply_link() ?></small> 63 </div> 63 </div> 64 64 65 65 <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> … … 91 91 92 92 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment'); ?>" /> 93 <?php comment_id_fields(); ?> 93 <?php comment_id_fields(); ?> 94 94 </p> 95 95 <?php do_action('comment_form', $post->ID); ?>
Note: See TracChangeset
for help on using the changeset viewer.