Opened 11 years ago
Closed 11 years ago
#33809 closed defect (bug) (fixed)
Comment template hooks expect from $comment_ID to be integer
| Reported by: | dimadin | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
I don't know if this was pre-4.4 behavior, but I have noticed after [33961] that many hooks in comment template function use $comment_ID and assume that it is integer.
I have changed variable in most places but in some I needed to introduce get_comment() so I would get comment_ID and used $comment instead.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
In 34008: