Make WordPress Core

Changeset 36425


Ignore:
Timestamp:
01/30/2016 10:12:29 PM (9 years ago)
Author:
rachelbaker
Message:

Comments: Add back $req variable in comments_template().

The variables in comments_template() should never be assumed to be unused. This function includes the comments.php template file from the active theme or falls back to theme-compat/comments.php. This is why including a file within a function only brings pain and sorrow.

Reverts r36322.

See #35473.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.