diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index c655412006..0b087fde04 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1037,7 +1037,7 @@ class Walker_Comment extends Walker { -
+ diff --git a/wp-includes/js/comment-reply.js b/wp-includes/js/comment-reply.js index e234d9e356..6f302274fd 100644 --- a/wp-includes/js/comment-reply.js +++ b/wp-includes/js/comment-reply.js @@ -32,4 +32,9 @@ function cancelCommentReply(respondId, respondRoot) { document.location.href = "#respond"; document.getElementById("comment").focus(); document.getElementById("comment-parent").value = "0"; -} \ No newline at end of file +} + +jQuery(document).ready(function($){ + $(".thread-odd").find("div.reply").css("display", "block"); + $(".thread-even").find("div.reply").css("display", "block"); +}); \ No newline at end of file diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 4028192d96..5058e2314e 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -141,7 +141,7 @@ function wp_default_scripts( &$scripts ) { $scripts->add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui.resizable.js', array('jquery-ui-core'), '1.5.2' ); $scripts->add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui.dialog.js', array('jquery-ui-resizable', 'jquery-ui-draggable'), '1.5.2' ); - $scripts->add( 'comment-reply', '/wp-includes/js/comment-reply.js', false, '20080828'); + $scripts->add( 'comment-reply', '/wp-includes/js/comment-reply.js', array('jquery'), '20080929'); if ( is_admin() ) { $scripts->add( 'ajaxcat', '/wp-admin/js/cat.js', array( 'wp-lists' ), '20071101' );