Changeset 7032 for trunk/wp-includes/general-template.php
- Timestamp:
- 02/26/2008 04:53:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r6974 r7032 919 919 } 920 920 921 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true ) {921 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2) { 922 922 $rows = get_option('default_post_edit_rows'); 923 923 if (($rows < 3) || ($rows > 100)) … … 961 961 <?php endif; // 'html' != $wp_default_editor 962 962 963 $the_editor = apply_filters('the_editor', "<div id='editorcontainer'><textarea class='' $rows cols='40' name='$id' tabindex=' 2' id='$id'>%s</textarea></div>\n");963 $the_editor = apply_filters('the_editor', "<div id='editorcontainer'><textarea class='' $rows cols='40' name='$id' tabindex='$tab_index' id='$id'>%s</textarea></div>\n"); 964 964 $the_editor_content = apply_filters('the_editor_content', $content); 965 965
Note: See TracChangeset
for help on using the changeset viewer.