Opened 17 years ago
Closed 17 years ago
#11568 closed defect (bug) (invalid)
wp-settings.php can include functions.php twice which can cause theme to not display
| Reported by: | raysolomon | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Themes | Version: | 2.9 |
| Severity: | major | Keywords: | reporter-feedback |
| Cc: | Focuses: |
Description
In wp-settings.php it is possible for two conditions to be true in which will allow the inclusion of function.php twice. If this happens, the theme may not display.
I included a patch.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
that logic is wrong.
The reason TEMPLATEPATH and STYLESHEETPATH are used is to serve Parent/Child themes.
What is the error you're seeing? What is the theme? Does the theme have a "Template:" header in its Style.css file?