diff --git src/bp-blogs/classes/class-bp-blogs-component.php src/bp-blogs/classes/class-bp-blogs-component.php
index fb963935b..854660dda 100644
|
|
class BP_Blogs_Component extends BP_Component { |
137 | 137 | |
138 | 138 | if ( bp_is_active( 'activity' ) ) { |
139 | 139 | $includes[] = 'activity'; |
140 | | } |
141 | 140 | |
142 | | if ( is_multisite() ) { |
143 | | $includes[] = 'widgets'; |
144 | | $includes[] = 'blocks'; |
| 141 | if ( is_multisite() ) { |
| 142 | $includes[] = 'widgets'; |
| 143 | $includes[] = 'blocks'; |
| 144 | } |
145 | 145 | } |
146 | 146 | |
147 | 147 | // Include the files. |
… |
… |
class BP_Blogs_Component extends BP_Component { |
397 | 397 | public function blocks_init( $blocks = array() ) { |
398 | 398 | $blocks = array(); |
399 | 399 | |
400 | | if ( is_multisite() ) { |
| 400 | if ( is_multisite() && bp_is_active( 'activity' ) ) { |
401 | 401 | $blocks['bp/recent-posts'] = array( |
402 | 402 | 'name' => 'bp/recent-posts', |
403 | 403 | 'editor_script' => 'bp-recent-posts-block', |