Remove unused variables. Props DD32. fixes #5418

git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-12-05 00:29:05 +00:00
parent 34c792ccc8
commit 721b8c930b
9 changed files with 9 additions and 25 deletions
-2
View File
@@ -8,9 +8,7 @@ function comment_exists($comment_author, $comment_date) {
}
function edit_comment() {
global $user_ID;
$comment_ID = (int) $_POST['comment_ID'];
$comment_post_ID = (int) $_POST['comment_post_ID'];
if (!current_user_can( 'edit_post', $comment_post_ID ))