Opened 10 years ago
Closed 10 years ago
#31298 closed enhancement (fixed)
"comment-reply-login" class missing from get_post_reply_link()
Reported by: | johnjamesjacoby | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | has-patch 2nd-opinion |
Focuses: | template | Cc: |
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
For context, the obvious use-case for a link like this is custom styling in a theme.
The less obvious one is the ability to filter
post_comments_link
and target that class specifically to modify it separately fromcomment-reply-link
.One example for Bootstrap to add
btn
classes would be:Right now, the same code cannot be applied to
post_comments_link
as thecomment-reply-login
class does not exist. My above patch brings both functions inline with each other.