[buddypress-trac] [BuddyPress] #1276: undefined fuction get_blog_option()
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Oct 27 04:13:08 UTC 2009
#1276: undefined fuction get_blog_option()
-----------------------------------------------------+----------------------
Reporter: shomazta | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Keywords: undefined, BP_ROOT_BLOG, get_blog_option |
-----------------------------------------------------+----------------------
'''Fatal error:''' Call to undefined function get_blog_option() in
'''/home/public_html/domain/wp-content/plugins/buddypress/bp-core.php'''
on line '''568'''
function bp_core_get_root_domain() {
global $current_blog;
if ( defined( 'BP_ENABLE_MULTIBLOG' ) )
$domain = get_blog_option( $current_blog->blog_id,
'siteurl' );
else
$domain = '''get_blog_option( BP_ROOT_BLOG, 'siteurl'
);'''
return apply_filters( 'bp_core_get_root_domain', $domain );
}
--
Ticket URL: <http://trac.buddypress.org/ticket/1276>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list