Changeset 1881 for trunk/wp-admin/theme-editor.php
- Timestamp:
- 11/25/2004 04:15:27 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/theme-editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r1876 r1881 45 45 46 46 $newcontent = stripslashes($_POST['newcontent']); 47 $theme = urlencode($theme); 47 48 if (is_writeable($real_file)) { 48 49 $f = fopen($real_file, 'w+'); 49 50 fwrite($f, $newcontent); 50 51 fclose($f); 51 header("Location: theme-editor.php?file=$file& a=te");52 header("Location: theme-editor.php?file=$file&theme=$theme&a=te"); 52 53 } else { 53 header("Location: theme-editor.php?file=$file ");54 header("Location: theme-editor.php?file=$file&theme=$theme"); 54 55 } 55 56
Note: See TracChangeset
for help on using the changeset viewer.