Make WordPress Core


Ignore:
Timestamp:
02/26/2008 04:53:48 AM (17 years ago)
Author:
ryan
Message:

Fix edit comment form tab indices. fixes #5712

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r6974 r7032  
    919919}
    920920
    921 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true) {
     921function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2) {
    922922    $rows = get_option('default_post_edit_rows');
    923923    if (($rows < 3) || ($rows > 100))
     
    961961    <?php endif; // 'html' != $wp_default_editor
    962962
    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");
    964964    $the_editor_content = apply_filters('the_editor_content', $content);
    965965
Note: See TracChangeset for help on using the changeset viewer.