Changeset 10614 for trunk/wp-admin/plugin-editor.php
- Timestamp:
- 02/21/2009 02:12:00 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/plugin-editor.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-editor.php
r10607 r10614 75 75 } 76 76 77 wp_enqueue_script( 'codepress' ); 78 add_action( 'admin_print_footer_scripts', 'codepress_footer_js' ); 77 79 require_once('admin-header.php'); 78 80 … … 97 99 98 100 $content = htmlspecialchars( $content ); 101 $codepress_lang = codepress_get_lang($real_file); 99 102 } 100 103 … … 146 149 <form name="template" id="template" action="plugin-editor.php" method="post"> 147 150 <?php wp_nonce_field('edit-plugin_' . $file) ?> 148 <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" tabindex="1" ><?php echo $content ?></textarea>151 <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" tabindex="1" class="codepress <?php echo $codepress_lang ?>"><?php echo $content ?></textarea> 149 152 <input type="hidden" name="action" value="update" /> 150 153 <input type="hidden" name="file" value="<?php echo $file ?>" />
Note: See TracChangeset
for help on using the changeset viewer.