[wp-trac] [WordPress Trac] #35473: Remove unused local variable in function comments_template()

WordPress Trac noreply at wordpress.org
Sun Jan 24 17:46:43 UTC 2016


#35473: Remove unused local variable in function comments_template()
--------------------------+-------------------------
 Reporter:  Latz          |       Owner:  swissspidy
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.5
Component:  Comments      |     Version:  2.2
 Severity:  normal        |  Resolution:
 Keywords:  revert        |     Focuses:
--------------------------+-------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch commit => revert
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 `$req` was used in Kubrick's [source:tags/2.9.2/wp-
 content/themes/default/comments.php?marks=71,72,74,75#L63 comments.php]
 template and is still used in [source:tags/4.4.1/src/wp-includes/theme-
 compat/comments.php?marks=95,96,98,99#L85 theme-compat/comments.php].

 We should keep it for back compat.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35473#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list