Changes between Version 3 and Version 4 of Ticket #16744, comment 5
- Timestamp:
- 03/17/11 18:49:18 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16744, comment 5
v3 v4 22 22 the problem is the path to a bp child theme's file is already complete, and the path to the buddypress directory gets appended to the front of it, resulting in a path pointing to a non existent file. so, i just put in the test to see if the theme is not a child theme before appending the paths, and if it is a child theme, the $file variable is left alone. 23 23 24 this works fine for all normal themes and all child themes of the bp-default theme. i would imagine that this would break the editing capabilities of a child theme of a normal theme, but as i don't have any to test with, soi'm unsure.24 this works fine for all normal themes and all child themes of the bp-default theme. i would imagine that this would break the editing capabilities of a child theme of a normal theme, but as i don't have any to test with, i'm unsure. 25 25 26 26 the complete fix should check specifically if the parent theme is bp-default or not, but i'll leave that to the experts.
