Changeset 8601
- Timestamp:
- 07/11/2014 11:25:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-functions.php
r8600 r8601 786 786 if ( ! empty( $user_roles ) ) { 787 787 788 // Switch to this blog so roles are re-init'ed789 switch_to_blog( $blog_id );790 791 788 // Look for blog only roles 792 789 $blog_roles = array_intersect( … … 794 791 array_keys( get_editable_roles() ) 795 792 ); 796 797 // Come back to the current blog798 restore_current_blog();799 793 800 794 // If there's a role in the array, use the first one. This isn't
Note: See TracChangeset
for help on using the changeset viewer.