Changeset 2194
- Timestamp:
- 02/01/2005 11:03:45 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r2179 r2194 433 433 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'javascript:history.go(-1)')); 434 434 435 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ id'])) {435 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ID'])) { 436 436 die('You are not allowed to edit comments on this post.'); 437 437 } … … 455 455 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 456 456 457 if (!user_can_delete_post_comments($user_ID, $commentdata['comment_post_ id'])) {457 if (!user_can_delete_post_comments($user_ID, $commentdata['comment_post_ID'])) { 458 458 die('You are not allowed to delete comments on this post.'); 459 459 } … … 497 497 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'post.php')); 498 498 499 if (!user_can_delete_post_comments($user_ID, $commentdata['comment_post_ id'])) {499 if (!user_can_delete_post_comments($user_ID, $commentdata['comment_post_ID'])) { 500 500 die('You are not allowed to edit comments on this post.'); 501 501 } … … 528 528 $commentdata = get_commentdata($comment) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 529 529 530 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ id'])) {530 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ID'])) { 531 531 die('You are not allowed to edit comments on this post, so you cannot disapprove this comment.'); 532 532 } … … 548 548 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 549 549 550 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ id'])) {550 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ID'])) { 551 551 die('You are not allowed to edit comments on this post, so you cannot approve this comment.'); 552 552 } … … 573 573 $commentdata = get_commentdata($comment) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 574 574 575 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ id'])) {575 if (!user_can_edit_post_comments($user_ID, $commentdata['comment_post_ID'])) { 576 576 die('You are not allowed to edit comments on this post, so you cannot approve this comment.'); 577 577 }
Note: See TracChangeset
for help on using the changeset viewer.