#20668 closed defect (bug) (fixed)
$wp_did_template_redirect is unused
| Reported by: | tamlyn | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Template | Version: | 3.4 |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
The global declaration at the start of load_template() in wp-includes/template.php (or wp-includes/theme.php before 3.4) imports a variable called $wp_did_template_redirect. This variable doesn't exist and is not referenced anywhere else.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Removes the variable