Opened 11 years ago
Closed 11 years ago
#35473 closed defect (bug) (wontfix)
Remove unused local variable in function comments_template()
| Reported by: | Latz | Owned by: | swissspidy |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 2.2 |
| Severity: | normal | Keywords: | revert |
| Cc: | Focuses: |
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
@
11 years ago
- Keywords revert added; has-patch commit removed
- Resolution fixed
- Status closed → 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
@
11 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 36322: