Changeset 3503 for trunk/bp-core/bp-core-templatetags.php
- Timestamp:
- 12/02/2010 05:08:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r3488 r3503 744 744 745 745 function bp_site_name() { 746 echo apply_filters( 'bp_site_name', get_blog _option( BP_ROOT_BLOG, 'blogname' ) );746 echo apply_filters( 'bp_site_name', get_bloginfo( 'name', 'display' ) ); 747 747 } 748 748 … … 931 931 } 932 932 933 if ( defined( 'BP_ENABLE_MULTIBLOG' ) ) { 934 $blog_title = get_blog_option( $current_blog->blog_id, 'blogname' ); 935 } else { 936 $blog_title = get_blog_option( BP_ROOT_BLOG, 'blogname' ); 937 } 938 939 return apply_filters( 'bp_page_title', $blog_title . ' | ' . esc_attr( $title ), esc_attr( $title ) ); 933 return apply_filters( 'bp_page_title', esc_attr( get_bloginfo( 'name', 'display' ) . ' | ' . $title ), esc_attr( $title ) ); 940 934 } 941 935
Note: See TracChangeset
for help on using the changeset viewer.