Changeset 4602 for trunk/bp-core/bp-core-filters.php
- Timestamp:
- 07/04/2011 04:59:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-filters.php
r4596 r4602 36 36 */ 37 37 function bp_core_email_from_name_filter() { 38 return apply_filters( 'bp_core_email_from_name_filter', wp_specialchars_decode( get_blog_option( BP_ROOT_BLOG, 'blogname' ), ENT_QUOTES ) );38 return apply_filters( 'bp_core_email_from_name_filter', wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES ) ); 39 39 } 40 40 add_filter( 'wp_mail_from_name', 'bp_core_email_from_name_filter' ); … … 72 72 return $themes; 73 73 74 if ( $wpdb->blogid == BP_ROOT_BLOG) {74 if ( $wpdb->blogid == bp_get_root_blog_id() ) { 75 75 $themes['bp-default'] = 1; 76 76 } … … 127 127 global $bp, $wpdb; 128 128 129 if ( is_multisite() && $wpdb->blogid != BP_ROOT_BLOG)129 if ( is_multisite() && $wpdb->blogid != bp_get_root_blog_id() ) 130 130 return $redirect_to; 131 131
Note: See TracChangeset
for help on using the changeset viewer.