Changeset 4269
- Timestamp:
- 10/02/06 19:26:47 (2 years ago)
- Files:
-
- branches/2.0/wp-admin/theme-editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-admin/theme-editor.php
r3937 r4269 59 59 fwrite($f, $newcontent); 60 60 fclose($f); 61 wp_redirect("theme-editor.php?file=$file&theme=$theme&a=te");61 $location = "theme-editor.php?file=$file&theme=$theme&a=te"; 62 62 } else { 63 wp_redirect("theme-editor.php?file=$file&theme=$theme");63 $location = "theme-editor.php?file=$file&theme=$theme"; 64 64 } 65 65 66 $location = wp_kses_no_null($location); 67 $strip = array('%0d', '%0a'); 68 $location = str_replace($strip, '', $location); 69 header("Location: $location"); 66 70 exit(); 67 71
