Changeset 14951 for trunk/wp-admin/theme-editor.php
- Timestamp:
- 05/26/2010 06:27:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r14930 r14951 15 15 $title = __("Edit Themes"); 16 16 $parent_file = 'themes.php'; 17 18 $help = '<p>' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p>'; 19 $help .= '<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>'; 20 $help .= '<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>'; 21 $help .= '<p>' . __('After typing in your edits, click Update File.') . '</p>'; 22 $help .= '<p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p>'; 23 $help .= '<p>' . sprintf(__('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s">child theme</a> instead.'), 'http://codex.wordpress.org/Child_Themes') . '</p>'; 24 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>'; 25 $help .= '<p>' . sprintf(__('<a href="%s">Theme Development Documentation</a>'), 'http://codex.wordpress.org/Theme_Development') . '</p>'; 26 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Using Themes</a>'), 'http://codex.wordpress.org/Using_Themes') . '</p>'; 27 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Editing Files</a>'), 'http://codex.wordpress.org/Editing_Files') . '</p>'; 28 $help .= '<p>' . sprintf(__('<a href="%s">Template Tags Documentation</a>'), 'http://codex.wordpress.org/Template_Tags') . '</p>'; 29 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 30 add_contextual_help($current_screen, $help); 17 31 18 32 wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme', 'dir'));
Note: See TracChangeset
for help on using the changeset viewer.