Changeset 458 for trunk/b2commentspopup.php
- Timestamp:
- 10/20/2003 08:53:13 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/b2commentspopup.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2commentspopup.php
r457 r458 32 32 $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); 33 33 $commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $tableposts WHERE ID = $id"); 34 if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass '] != $commentstatus->post_password) { // and it doesn't match the cookie34 if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $commentstatus->post_password) { // and it doesn't match the cookie 35 35 echo("<li>".get_the_password_form()."</li></ol>"); 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.