From fabda2a2d321fd8b3c97739f8ab694640dbb0e83 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 26 Feb 2008 04:53:48 +0000 Subject: [PATCH] Fix edit comment form tab indices. fixes #5712 git-svn-id: http://svn.automattic.com/wordpress/trunk@7032 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-comment.php | 4 ++-- wp-includes/general-template.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 67c74c8663..7fe8fa7ea0 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -85,13 +85,13 @@ echo "
- +

-comment_content, 'content', 'newcomment_author_url', false); ?> +comment_content, 'content', 'newcomment_author_url', false, 4); ?>
diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 9d416142a1..c762d69144 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -918,7 +918,7 @@ function wp_default_editor() { return apply_filters( 'wp_default_editor', $r ); // filter } -function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true) { +function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2) { $rows = get_option('default_post_edit_rows'); if (($rows < 3) || ($rows > 100)) $rows = 12; @@ -960,7 +960,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button \n"); + $the_editor = apply_filters('the_editor', "
\n"); $the_editor_content = apply_filters('the_editor_content', $content); printf($the_editor, $the_editor_content);