Changeset 558 for trunk/b2commentspopup.php
- Timestamp:
- 11/25/2003 12:46:52 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/b2commentspopup.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2commentspopup.php
r549 r558 31 31 // this line is WordPress' motor, do not delete it. 32 32 $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1' ORDER BY comment_date"); 33 ++$querycount; 33 34 $commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $tableposts WHERE ID = $id"); 35 ++$querycount; 34 36 if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $commentstatus->post_password) { // and it doesn't match the cookie 35 37 echo(get_the_password_form());
Note: See TracChangeset
for help on using the changeset viewer.