[buddypress-trac] [BuddyPress] #4236: Buddy Press default theme logic breaks when plugin folder is relocated
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Jun 4 02:42:30 UTC 2012
#4236: Buddy Press default theme logic breaks when plugin folder is relocated
--------------------------+-----------------------------
Reporter: anmari | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Theme | Version: 1.5.5
Severity: minor | Keywords:
--------------------------+-----------------------------
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.)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4236>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list