#4236 closed defect (bug) (duplicate)
Buddy Press default theme logic breaks when plugin folder is relocated
Reported by: | anmari | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5.5 |
Component: | Templates | Keywords: | |
Cc: |
Description
For develpement purposes I have several wp installs (eg: one nightly build) - they share a plugin folder and sometimes the wp-content folder too.
When not using the default wp plugin directory, The buddy press default theme cannot be activated - says "Broken" when the plugin folder is not at default location.
Since this is allowed/facilitated by wordpress, it should be handled by buddypress.
See http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content
my example:
define( 'WP_PLUGIN_DIR', 'C:\wamp\www\wp\wp-content/plugins' );
define( 'WP_PLUGIN_URL', 'http://localhost/wp/wp-content/plugins');
I suspect that this is due to the buddy press default theme being located in the plugins folder. However in looking at the code, buddypress seems to use all the correct functions.
If the bbpress plugin code exists in both installs plugin folder then wp seems happy with whatever the WP_PLUGIN_URL is (probably accessing the default one - it just loses the screenshot for the theme.) If I delete/rename the default one and point the pluginurl back to my relocated one, then wp thinks the theme is broken.
So not really sure where the problem lies - hopefully someone who knows bbpress better will figure it out. Remember when testing to remove/rename the default install plugin else it will still seem to work.
(Also I was getting a few notices on initial activation dues to pages not being defined.. be nice to clean those up for a better first impression.)
There is a ticket for this already so I am going to close this one in favour of the existing ticket: see #2945.
If you've found PHP Notices, please create a separate ticket for that and include the notices. Thanks.