Changeset 17966 for trunk/wp-includes/general-template.php
- Timestamp:
- 05/19/2011 07:34:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r17695 r17966 1787 1787 * @param int $tab_index Optional, default is 2. Tabindex for textarea element. 1788 1788 */ 1789 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2 ) {1789 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2, $extended = true) { 1790 1790 $rows = get_option('default_post_edit_rows'); 1791 1791 if (($rows < 3) || ($rows > 100)) … … 1840 1840 <script type="text/javascript"> 1841 1841 edCanvas = document.getElementById('<?php echo $id; ?>'); 1842 <?php if ( ! $extended ) { ?> jQuery('#ed_fullscreen, #ed_more').hide();<?php } ?> 1842 1843 </script> 1843 1844 <?php … … 1845 1846 if ( $richedit ) 1846 1847 add_action( 'admin_print_footer_scripts', 'wp_tiny_mce', 25 ); 1847 else 1848 elseif ( $extended ) 1848 1849 add_action( 'admin_print_footer_scripts', 'wp_quicktags', 25 ); 1849 1850
Note: See TracChangeset
for help on using the changeset viewer.