Ticket #8550 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Enable support for threaded comments and comment reply on index page

Reported by: yoavf Owned by:
Priority: normal Milestone: 2.7
Component: Comments Version: 2.7
Severity: normal Keywords:
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

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

Change History

azaozz3 years ago

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

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

comment:2   ryan3 years ago

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

comment:3   ryan3 years ago

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

comment:4   ryan3 years ago

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

Note: See TracTickets for help on using tickets.