diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-05 11:55:16 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-05 11:55:16 +0000 |
commit | c1e9ee019dcce4d8c2e5bc7d6feac95afa812598 (patch) | |
tree | cf1ce2babb677da1e8ed5980a2b93f50c007db6d /wp-admin/comment.php | |
parent | 4f1ae2b3efc96635b7f4f8d40720f96117927204 (diff) | |
download | wordpress-mu-c1e9ee019dcce4d8c2e5bc7d6feac95afa812598.tar.gz wordpress-mu-c1e9ee019dcce4d8c2e5bc7d6feac95afa812598.tar.xz wordpress-mu-c1e9ee019dcce4d8c2e5bc7d6feac95afa812598.zip |
WP Merge.
Delete feed code and sql
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@636 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/comment.php')
-rw-r--r-- | wp-admin/comment.php | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 52ec008..bc6f510 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -3,22 +3,8 @@ require_once('admin.php'); $parent_file = 'edit.php'; $submenu_file = 'edit-comments.php'; -$wpvarstoreset = array('action'); - -for ($i=0; $i<count($wpvarstoreset); $i += 1) { - $wpvar = $wpvarstoreset[$i]; - if (!isset($$wpvar)) { - if (empty($_POST["$wpvar"])) { - if (empty($_GET["$wpvar"])) { - $$wpvar = ''; - } else { - $$wpvar = $_GET["$wpvar"]; - } - } else { - $$wpvar = $_POST["$wpvar"]; - } - } -} + +wp_reset_vars(array('action')); if ( isset( $_POST['deletecomment'] ) ) $action = 'deletecomment'; |