Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,859
- How-to & Troubleshooting
- 128,906
- Creating & Extending
- 25,742
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,389
- Miscellaneous
- 9,134
-
Here’s the solution I came up with. Rather than using the nested dirname functions, I found this to work nicely:
require_once( preg_replace('/(.*)/wp-content/.*/', '1', dirname(__FILE__)) . '/wp-load.php' );
I’ll create a ticket if this is something that is reasonable. Thoughts?
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS