Changeset 4268
- Timestamp:
- 10/02/2006 07:26:12 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/theme-editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r4111 r4268 45 45 fwrite($f, $newcontent); 46 46 fclose($f); 47 wp_redirect("theme-editor.php?file=$file&theme=$theme&a=te");47 $location = "theme-editor.php?file=$file&theme=$theme&a=te"; 48 48 } else { 49 wp_redirect("theme-editor.php?file=$file&theme=$theme");49 $location = "theme-editor.php?file=$file&theme=$theme"; 50 50 } 51 51 52 $location = wp_kses_no_null($location); 53 $strip = array('%0d', '%0a'); 54 $location = str_replace($strip, '', $location); 55 header("Location: $location"); 52 56 exit(); 53 57
Note: See TracChangeset
for help on using the changeset viewer.