Opened 11 years ago
Closed 11 years ago
#31333 closed defect (bug) (fixed)
Comment reply link broken in ajax call
| Reported by: | aruns6578 | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Comments | Version: | 4.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Will it be okay to change
esc_url( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#" . $args['respond_id']
to
esc_url( add_query_arg( 'replytocom', $comment->comment_ID, get_permalink($post->ID) ) ) . "#" . $args['respond_id']
at line https://core.trac.wordpress.org/browser/tags/4.1/src/wp-includes/comment-template.php#L1412
The get_comment_reply_link function sends wrong URL when requested via ajax call.
Attachments (1)
Change History (10)
This ticket was mentioned in Slack in #core by shelob9. View the logs.
11 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch for comment-template.php