Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#8550 closed enhancement (fixed)

Enable support for threaded comments and comment reply on index page

Reported by: yoavf's profile yoavf Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: Comments Keywords:
Focuses: Cc:

Description

Current method is missing a reference to post ID and does not allow threaded comments and replies on index pages.

The proposed patch introduce a small change to comment-reply.js and to comment-template.php (addition of post id as a parameter to the moveform function).

Two additional function are also presented in comment-template.php: get_post_reply link() and post_reply_link().
Those replicate get_comment_reply_link() and comment_reply_link() to allow for "reply" links on the posts in index pages.

Attached a patch to both /wp-includes/comment-template.php and /wp-includes/js/comment-reply.js

Attachments (2)

SupportForMultipleCommentsOnPage.diff (4.8 KB) - added by yoavf 17 years ago.
8550-2.patch (5.0 KB) - added by azaozz 17 years ago.

Download all attachments as: .zip

Change History (6)

@azaozz
17 years ago

#1 @azaozz
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10169]) Enable support for threaded comments and comment reply on index page, props yoavf, fixes #8550

#2 @ryan
17 years ago

(In [10178]) Post reply API updates. see #8550

#3 @ryan
17 years ago

(In [10179]) Change default add_below. see #8550

#4 @ryan
17 years ago

(In [10180]) Update func name. see #8550

Note: See TracTickets for help on using tickets.