[wp-trac] [WordPress Trac] #35511: Remove even more unused local variables
WordPress Trac
noreply at wordpress.org
Mon Jan 18 20:51:47 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 Latz):
Replying to [comment:5 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`.
I have to admit that I hadn't thought that far. Will take a look but it at
first sight it seems like a strange programming style.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35511#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list