mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
+3
-2
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user