diff options
Diffstat (limited to 'wp-admin/theme-editor.php')
| -rw-r--r-- | wp-admin/theme-editor.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 10fb8fc..3213cc4 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -59,9 +59,9 @@ case 'update': $f = fopen($real_file, 'w+'); fwrite($f, $newcontent); fclose($f); - header("Location: theme-editor.php?file=$file&theme=$theme&a=te"); + wp_redirect("theme-editor.php?file=$file&theme=$theme&a=te"); } else { - header("Location: theme-editor.php?file=$file&theme=$theme"); + wp_redirect("theme-editor.php?file=$file&theme=$theme"); } exit(); |
