Changeset 4602 for trunk/bp-groups/bp-groups-notifications.php
- Timestamp:
- 07/04/2011 04:59:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-notifications.php
r4558 r4602 5 5 6 6 $group = new BP_Groups_Group( $group_id ); 7 $sitename = wp_specialchars_decode( get_blog_option( BP_ROOT_BLOG, 'blogname' ), ENT_QUOTES );7 $sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES ); 8 8 $subject = '[' . $sitename . '] ' . __( 'Group Details Updated', 'buddypress' ); 9 9 … … 112 112 // Set up and send the message 113 113 $to = $ud->user_email; 114 $sitename = wp_specialchars_decode( get_blog_option( BP_ROOT_BLOG, 'blogname' ), ENT_QUOTES );114 $sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES ); 115 115 116 116 if ( $accepted ) { … … 172 172 // Set up and send the message 173 173 $to = $ud->user_email; 174 $sitename = wp_specialchars_decode( get_blog_option( BP_ROOT_BLOG, 'blogname' ), ENT_QUOTES );174 $sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES ); 175 175 $subject = '[' . $sitename . '] ' . sprintf( __( 'You have been promoted in the group: "%s"', 'buddypress' ), $group->name ); 176 176 … … 222 222 // Set up and send the message 223 223 $to = $invited_ud->user_email; 224 $sitename = wp_specialchars_decode( get_blog_option( BP_ROOT_BLOG, 'blogname' ), ENT_QUOTES );224 $sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES ); 225 225 $subject = '[' . $sitename . '] ' . sprintf( __( 'You have an invitation to the group: "%s"', 'buddypress' ), $group->name ); 226 226 … … 284 284 $ud = bp_core_get_core_userdata( $receiver_user_id ); 285 285 $to = $ud->user_email; 286 $sitename = wp_specialchars_decode( get_blog_option( BP_ROOT_BLOG, 'blogname' ), ENT_QUOTES );286 $sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES ); 287 287 $subject = '[' . $sitename . '] ' . sprintf( __( '%1$s mentioned you in the group "%2$s"', 'buddypress' ), $poster_name, $group->name ); 288 288
Note: See TracChangeset
for help on using the changeset viewer.