Opened 11 years ago
Last modified 7 years ago
#32299 new defect (bug)
Cancel comment reply link broken in AJAX call
| Reported by: | Shelob9 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.