Changeset 8590
- Timestamp:
- 07/10/2014 10:34:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-loader.php
r8568 r8590 46 46 $bp = buddypress(); 47 47 48 if ( ! defined( 'BP_BLOGS_SLUG' ) )48 if ( ! defined( 'BP_BLOGS_SLUG' ) ) { 49 49 define ( 'BP_BLOGS_SLUG', $this->id ); 50 } 50 51 51 52 // Global tables for messaging component … … 59 60 ); 60 61 61 // All globals for messaging component. 62 // Note that global_tables is included in this array. 62 // All globals for blogs component. 63 63 $args = array( 64 64 'slug' => BP_BLOGS_SLUG, … … 84 84 */ 85 85 public function includes( $includes = array() ) { 86 86 87 // Files to include 87 88 $includes = array( … … 96 97 ); 97 98 98 if ( is_multisite() ) 99 if ( is_multisite() ) { 99 100 $includes[] = 'widgets'; 101 } 100 102 101 103 // Include the files … … 121 123 * activity stream. 122 124 */ 123 if ( ! is_multisite() )125 if ( ! is_multisite() ) { 124 126 return false; 127 } 125 128 126 129 // Add 'Sites' to the main navigation … … 173 176 /** 174 177 * Site/post/comment menus should not appear on single WordPress setups. 175 * Although comments and posts made by users will still show on their176 * activity stream.178 * 179 * Comments and posts made by users will still show in their activity. 177 180 */ 178 if ( ! is_multisite() )181 if ( ! is_multisite() ) { 179 182 return false; 183 } 180 184 181 185 // Menus for logged in user
Note: See TracChangeset
for help on using the changeset viewer.