[wp-trac] [WordPress Trac] #34946: new comment redirects break anchors in Safari

WordPress Trac noreply at wordpress.org
Thu Dec 17 13:17:15 UTC 2015

#34946: new comment redirects break anchors in Safari
 Reporter:  chuckmoulton  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4.1
Component:  Comments      |     Version:  4.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:  fixed-major   |     Focuses:

Comment (by swissspidy):

 (Using 4.4 trunk, no comment pagination)

 I still have to check, but it looks like after submitting a comment,
 WordPress redirects to `.../comment-page-1/#comment-123`, which redirects
 to `.../#comment-123. Not a big deal to me, but Safari strips off
 `#comment-123` in the second redirect, so the user isn't taken directly to
 their comment.

 `comment-page-1` is not part of the comment links anywhere else, so I'm
 not sure where this comes from. Anyone else noticing similar behaviour?

Ticket URL: <https://core.trac.wordpress.org/ticket/34946#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list