[wp-trac] [WordPress Trac] #35511: Remove even more unused local variables

WordPress Trac noreply at wordpress.org
Mon Jan 18 17:06:37 UTC 2016


#35511: Remove even more unused local variables
--------------------------+--------------------------
 Reporter:  Latz          |       Owner:  rachelbaker
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.5
Component:  Comments      |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by rachelbaker):

 @Latz The `comments_template()` function is tricky because the variables
 set may be used in your theme's `comments.php` file. Example: I can see
 `$comment_author_url` used in `theme-compat/comments.php`.

 Before any of the globals or local variables are removed from
 `comments_template()` some research and testing will need to be done
 across the theme directory.

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


More information about the wp-trac mailing list