Changeset 21358 for trunk/wp-admin/theme-editor.php
- Timestamp:
- 07/27/2012 04:49:48 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/theme-editor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r21311 r21358 28 28 <p>' . __('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.') . '</p> 29 29 <p>' . __('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.') . '</p> 30 <p id="newcontent-description">' . __('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.') . '</p> 30 31 <p>' . __('After typing in your edits, click Update File.') . '</p> 31 32 <p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p> … … 199 200 <form name="template" id="template" action="theme-editor.php" method="post"> 200 201 <?php wp_nonce_field( 'edit-theme_' . $file . $stylesheet ); ?> 201 <div><textarea cols="70" rows="30" name="newcontent" id="newcontent" aria-describedby="newcontent-description"><?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> 202 <div><textarea 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 ); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.