Changeset 3956
- Timestamp:
- 07/04/2006 07:31:28 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r3928 r3956 4 4 $parent_file = 'edit.php'; 5 5 $submenu_file = 'edit-comments.php'; 6 $wpvarstoreset = array('action');7 6 8 for ($i=0; $i<count($wpvarstoreset); $i += 1) { 9 $wpvar = $wpvarstoreset[$i]; 10 if (!isset($$wpvar)) { 11 if (empty($_POST["$wpvar"])) { 12 if (empty($_GET["$wpvar"])) { 13 $$wpvar = ''; 14 } else { 15 $$wpvar = $_GET["$wpvar"]; 16 } 17 } else { 18 $$wpvar = $_POST["$wpvar"]; 19 } 20 } 21 } 7 wp_reset_vars(array('action')); 22 8 23 9 if ( isset( $_POST['deletecomment'] ) )
Note: See TracChangeset
for help on using the changeset viewer.