[buddypress-trac] [BuddyPress Trac] #5749: bp_blogs_record_existing_blogs() improvements
buddypress-trac
noreply at wordpress.org
Mon Aug 18 13:15:41 UTC 2014
#5749: bp_blogs_record_existing_blogs() improvements
-----------------------------+---------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.1
Component: Blogs | Version:
Severity: normal | Resolution: fixed
Keywords: |
-----------------------------+---------------------
Comment (by johnjamesjacoby):
In [changeset:"8942"]:
{{{
#!CommitTicketReference repository="" revision="8942"
Improvements to Blogs & capabilities:
* Introduce `bp_blogs_get_allowed_roles()` to act as a blog-role whitelist
* Introduce `bp_get_current_blog_roles()` to avoid including an admin-only
file theme-side
* Use these functions to clean-up the `add_user_to_blog` process in
several ways:
** More accurately match the member-to-blog relationship specification
** No-subscriber users remains functionality intact
** Allow extending of existing user-to-blog behavior
See #5749, #5819.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5749#comment:18>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list