diff -r f507feede89a -r 09a1c134465b web/wp-admin/theme-editor.php --- a/web/wp-admin/theme-editor.php Wed Dec 19 12:35:13 2012 -0800 +++ b/web/wp-admin/theme-editor.php Wed Dec 19 17:46:52 2012 -0800 @@ -27,6 +27,7 @@ '

' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '

' . __('Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box.') . '

' . __('For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Lookup takes you to a web page with reference material about that particular function.') . '

+

' . __('In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.') . '

' . __('After typing in your edits, click Update File.') . '

' . __('Advice: think very carefully about your site crashing if you are live-editing the theme currently in use.') . '

' . __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a child theme instead.') . '

' . @@ -45,7 +46,7 @@ wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) ); if ( $theme ) - $stylesheet = urldecode( $theme ); + $stylesheet = $theme; else $stylesheet = get_stylesheet(); @@ -67,7 +68,7 @@ $relative_file = 'style.css'; $file = $allowed_files['style.css']; } else { - $relative_file = urldecode( stripslashes( $file ) ); + $relative_file = stripslashes( $file ); $file = $theme->get_stylesheet_directory() . '/' . $relative_file; } @@ -198,12 +199,12 @@ else : ?>
-
- - - - -
+
+ + + + +
@@ -219,7 +220,7 @@ '2' ) ); + submit_button( __( 'Update File' ), 'primary', 'submit', true ); else : ?>

the Codex for more information.'); ?>