Changeset 21310 for trunk/wp-admin/theme-editor.php
- Timestamp:
- 07/23/2012 11:46:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r20844 r21310 199 199 <form name="template" id="template" action="theme-editor.php" method="post"> 200 200 <?php wp_nonce_field( 'edit-theme_' . $file . $stylesheet ); ?> 201 <div><textarea cols="70" rows="30" name="newcontent" id="newcontent" tabindex="1"><?php echo $content ?></textarea> 202 <input type="hidden" name="action" value="update" /> 203 <input type="hidden" name="file" value="<?php echo esc_attr( $relative_file ); ?>" /> 204 <input type="hidden" name="theme" value="<?php echo esc_attr( $theme->get_stylesheet() ); ?>" /> 205 <input type="hidden" name="scrollto" id="scrollto" value="<?php echo $scrollto; ?>" /> 206 </div> 201 <div><textarea cols="70" rows="30" name="newcontent" id="newcontent" aria-describedby="newcontent-description" tabindex="1"><?php echo $content ?></textarea> 202 <span id="newcontent-description" class="screen-reader-text"><?php _e('Content of the edited file. The Tab key enters a tab character, to move below this area, press the Esc key followed by the Tab key. Shift + Tab works as expected.'); ?></span> 203 <input type="hidden" name="action" value="update" /> 204 <input type="hidden" name="file" value="<?php echo esc_attr( $relative_file ); ?>" /> 205 <input type="hidden" name="theme" value="<?php echo esc_attr( $theme->get_stylesheet() ); ?>" /> 206 <input type="hidden" name="scrollto" id="scrollto" value="<?php echo $scrollto; ?>" /> 207 </div> 207 208 <?php if ( ! empty( $functions ) ) : ?> 208 209 <div id="documentation" class="hide-if-no-js">
Note: See TracChangeset
for help on using the changeset viewer.