Opened 10 years ago
Closed 10 years ago
#33809 closed defect (bug) (fixed)
Comment template hooks expect from $comment_ID to be integer
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Comments | Keywords: | has-patch |
| Focuses: | Cc: |
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: