Ticket #24977: 24977.theme-editor-dir.diff
File 24977.theme-editor-dir.diff, 934 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/theme-editor.php
199 199 else : ?> 200 200 <form name="template" id="template" action="theme-editor.php" method="post"> 201 201 <?php wp_nonce_field( 'edit-theme_' . $file . $stylesheet ); ?> 202 <div><textarea cols="70" rows="30" name="newcontent" id="newcontent" aria-describedby="newcontent-description"><?php echo $content; ?></textarea>202 <div><textarea dir="ltr" cols="70" rows="30" name="newcontent" id="newcontent" aria-describedby="newcontent-description"><?php echo $content; ?></textarea> 203 203 <input type="hidden" name="action" value="update" /> 204 204 <input type="hidden" name="file" value="<?php echo esc_attr( $relative_file ); ?>" /> 205 205 <input type="hidden" name="theme" value="<?php echo esc_attr( $theme->get_stylesheet() ); ?>" />