Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#32299 new defect (bug)

Cancel comment reply link broken in AJAX call

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

Description

related #31333 and both of that & this could arguably be a dupe of #31100 but there case appears to be a server config issue, not using cancel_comment_reply_link() or get_comment_link() with AJAX.

cancel_comment_reply_link() has the same issue as get_comment_link() has (#31333) which is that it relies on $_SERVER['REQUEST_URI'] not the actual post permalink for the post's URL.

Change History (1)

#1 @rachelbaker
9 years ago

  • Milestone changed from Awaiting Review to Future Release

The fix here isn't as straightforward as #31333 because cancel_comment_reply_link() doesn't allow the comment object or id to be passed in (see #28314 and #30909).

A fix for #28314 would have to land first.

Note: See TracTickets for help on using tickets.