[buddypress-trac] [BuddyPress] #2169: Function bp_current_component() returns wrong value at base member profile - FIXEDURL (was: Function bp_current_component() returns wrong value at base member profile URL)
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Mar 11 05:28:11 UTC 2010
#2169: Function bp_current_component() returns wrong value at base member profile
- FIXEDURL
-----------------------------------+----------------------------------------
Reporter: foxly | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.2.3
Keywords: bp_current_component() |
-----------------------------------+----------------------------------------
Comment(by foxly):
This problem can be resolved by adding the following line of code to the
wp-config.php file:
define( 'BP_DEFAULT_COMPONENT', 'profile');
Please consider properly documenting your code. You could have saved us 2
hours of debugging time by listing this *completely undocumented* either
on the BP site or in the bp_current_component()function header.
-Foxly
--
Ticket URL: <http://trac.buddypress.org/ticket/2169#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list