Opened 17 years ago
Closed 17 years ago
#1451 closed defect (bug) (fixed)
1.2 theme upgrade not idiot proof
| Reported by: | DJPaul | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | Keywords: | ||
| Cc: |
Description
On my trunk (rev 2176), I deleted the v1.1 theme folders from /themes/ and moved in only the new /bp-default/.
WPMU keeps trying to load _inc/ajax.php through the parent theme, creating a White Page of Death. I'm assuming WPMU caches the parent theme name/folder in the TEMPLATEPATH constant, which is where the wrong path is introduced.
Change History (4)
#2
@
17 years ago
Renaming the folder appears the straightforward way. Otherwise, I suppose you'd have to put checks around the "require_once( TEMPLATEPATH . '/_inc/ajax.php' )" line in functions.php --
Something like checking if "bp-sn-parent" is within TEMPLATEPATH and then calling appropiate WordPress functions to update it quietly.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This could be a major issue. Can anyone think of a smart way to get around this (other than naming the theme something else).