[buddypress-trac] [BuddyPress] #3677: bb-config-location should default to something intelligent
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Oct 12 01:10:12 UTC 2011
#3677: bb-config-location should default to something intelligent
--------------------------+--------------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 1.5.1
Component: Forums | Version: 1.5
Severity: minor | Keywords: dev-feedback
--------------------------+--------------------------
I recently worked with someone who, for some unexplained reason, kept
having her 'bb-config-location' option deleted, which resulted in
bp_forums_is_installed_correctly() returning false. I'm not sure why the
bb-config-location option keeps getting deleted - probably a plugin
conflict (I couldn't reproduce it on a clean install). But, in any case,
it would have continued to work even in the absence of bb-config-location
if the default value for that option, as set in
bp_core_get_root_options(), were something sensible: ABSPATH . 'bb-
config.php' instead of ABSPATH. And since we do an is_file() check before
actually loading that value into the $bp->forums object, there's no chance
of false positives.
Objections?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3677>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list