Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/04/2011 04:59:01 PM (13 years ago)
Author:
johnjamesjacoby
Message:
  • Swap BP_ROOT_BLOG const usage for new bp_get_root_blog_id() function
  • Use bp_get_root_blog_id() place of bp_get_option_blog_id()
  • Check for BP_ENABLE_MULTIBLOG when assigning root blog ID

See #3313, #3314.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r4596 r4602  
    169169    $root_blog_offset = false;
    170170    if ( $localize_time )
    171         $root_blog_offset = get_blog_option( BP_ROOT_BLOG, 'gmt_offset' );
     171        $root_blog_offset = get_blog_option( bp_get_root_blog_id(), 'gmt_offset' );
    172172
    173173    // Calculate offset time
Note: See TracChangeset for help on using the changeset viewer.