Opened 15 years ago
Closed 15 years ago
#17566 closed defect (bug) (fixed)
Twenty Eleven Instantiate $show_sep in templates.
| Reported by: | mfields | Owned by: | iandstewart |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | Bundled Theme | Version: | 3.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
A notice will be generated in case where a taxonomy archive is queried for that contains posts not having the 'post' post_type. The notice is generated because the value of $show_sep is being tested against, but the variable does not exist where post_type != 'post'. I first noticed this in content.php but have instantiate the var in all other templates where I found it.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Instantiate $show_sep where needed in template files.