Changeset 7032
- Timestamp:
- 02/26/2008 04:53:48 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-admin/edit-form-comment.php (modified) (2 diffs)
-
wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-comment.php
r6970 r7032 86 86 <h3><?php _e('URL') ?></h3> 87 87 <div class="inside"> 88 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex=" 2" />88 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="3" /> 89 89 </div> 90 90 </div> … … 92 92 <div id="postdiv" class="postarea"> 93 93 <h3><?php _e('Comment') ?></h3> 94 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false ); ?>94 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false, 4); ?> 95 95 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> 96 96 </div> -
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.