Changeset 1405 for trunk/wp-includes/template-functions-comment.php
- Timestamp:
- 06/11/2004 08:02:40 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-comment.php
r1402 r1405 22 22 if ( $single || $withcomments ) : 23 23 $req = get_settings('require_name_email'); 24 $comment_author = isset($_COOKIE['comment_author_'.$cookiehash]) ? trim($_COOKIE['comment_author_'.$cookiehash]) : '';25 $comment_author_email = isset($_COOKIE['comment_author_email_'.$cookiehash]) ? trim( $_COOKIE['comment_author_email_'.$cookiehash]) : '';26 $comment_author_url = isset($_COOKIE['comment_author_url_'.$cookiehash]) ? trim( $_COOKIE['comment_author_url_'.$cookiehash]) : '';24 $comment_author = isset($_COOKIE['comment_author_'.$cookiehash]) ? trim(stripslashes($_COOKIE['comment_author_'.$cookiehash])) : ''; 25 $comment_author_email = isset($_COOKIE['comment_author_email_'.$cookiehash]) ? trim(stripslashes($_COOKIE['comment_author_email_'.$cookiehash])) : ''; 26 $comment_author_url = isset($_COOKIE['comment_author_url_'.$cookiehash]) ? trim(stripslashes($_COOKIE['comment_author_url_'.$cookiehash])) : ''; 27 27 $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$post->ID' AND comment_approved = '1' ORDER BY comment_date"); 28 28 include(ABSPATH . 'wp-comments.php');
Note: See TracChangeset
for help on using the changeset viewer.