A better comment delete button

git-svn-id: https://develop.svn.wordpress.org/trunk@3721 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2006-04-19 08:02:16 +00:00
parent 20e1dfcd35
commit 79f049c09e
5 changed files with 227 additions and 212 deletions
+3 -2
View File
@@ -17,8 +17,9 @@ for ($i=0; $i<count($wpvarstoreset); $i += 1) {
}
}
}
if (isset($_POST['deletepost']))
$action = "delete";
if ( isset( $_POST['deletepost'] ) )
$action = 'delete';
switch($action) {
case 'postajaxpost':