WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#8550 closed enhancement (fixed)

Enable support for threaded comments and comment reply on index page

Reported by: 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 6 years ago.
8550-2.patch (5.0 KB) - added by azaozz 6 years ago.

Download all attachments as: .zip

Change History (6)

@azaozz6 years ago

comment:1 @azaozz6 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

comment:2 @ryan6 years ago

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

comment:3 @ryan6 years ago

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

comment:4 @ryan6 years ago

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

Note: See TracTickets for help on using tickets.