Changes between Version 1 and Version 2 of Ticket #16744, comment 5
- Timestamp:
- 03/17/2011 06:11:17 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16744, comment 5
v1 v2 18 18 }}} 19 19 20 it's around line #63, for me, just above the call to validate_file_to_edit().20 it's around line 63, for me, just above the call to validate_file_to_edit(). 21 21 22 22 the problem is the path to a bp child theme's file path 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.