Changeset 8299 for trunk/bp-friends/bp-friends-widgets.php
- Timestamp:
- 04/18/2014 05:57:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-widgets.php
r7756 r8299 18 18 function bp_friends_register_widgets() { 19 19 if ( ! bp_is_active( 'friends' ) ) { 20 return; 21 } 22 23 // The Friends widget works only when looking an a displayed user, 24 // and the concept of "displayed user" doesn't exist on non-root blogs, 25 // so we don't register the widget there. 26 if ( ! bp_is_root_blog() ) { 20 27 return; 21 28 }
Note: See TracChangeset
for help on using the changeset viewer.