Opened 9 years ago
Closed 9 years ago
#35473 closed defect (bug) (wontfix)
Remove unused local variable in function comments_template()
Reported by: | Latz | Owned by: | swissspidy |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.2 |
Component: | Comments | Keywords: | revert |
Focuses: | Cc: |
Description
The local variable $req is not used anywhere else in the function "comments_template()" (wp-includes/comment-template.php).
Attachments (1)
Change History (9)
#5
follow-up:
↓ 6
@
9 years ago
- Keywords revert added; has-patch commit removed
- Resolution fixed deleted
- Status changed from closed to reopened
$req
was used in Kubrick's comments.php template and is still used in theme-compat/comments.php.
We should keep it for back compat.
#6
in reply to:
↑ 5
@
9 years ago
Replying to SergeyBiryukov:
We should keep it for back compat.
I agree. I wasn't aware of this behaviour. Next time I try to clean up some old code I will take more care of side effects.
Note: See
TracTickets for help on using
tickets.
In 36322: