Opened 15 years ago
Closed 15 years ago
#1451 closed defect (bug) (fixed)
1.2 theme upgrade not idiot proof
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | 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
@
15 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.
This could be a major issue. Can anyone think of a smart way to get around this (other than naming the theme something else).